Merge branch 'new_howto_theme' into 'master'
New howto theme See merge request disroot/howto!150
This commit is contained in:
commit
d68134ab69
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
namespace Grav\Theme;
|
||||
|
||||
use Grav\Common\Theme;
|
||||
|
||||
class Howto extends Theme
|
||||
{
|
||||
// Access plugin events in this class
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
enabled: true
|
||||
dropdown:
|
||||
enabled: true
|
||||
params:
|
||||
articles:
|
||||
root: /home # the route where the articles themselves live
|
||||
blacklist: ['scratch'] # list of categories to ignore
|
||||
show:
|
||||
date: true # show article date in the article header
|
||||
authors: true # show article authors in the article header
|
||||
topics: true # show assigned topics in the article header
|
||||
time: true # show reading time in the article header
|
||||
front: # params for the front page content
|
||||
maxrows: 3 # the maximum number of rows on the front page
|
||||
maxentries: 5 # maximum number of articles displayed for each category
|
||||
sidebar: # params for the sidebar
|
||||
maxentries: 5 # maximum number of articles to display in "Popular" and "Latest" sections
|
||||
show:
|
||||
categories: true # show Category list in the sidebar
|
||||
popular: true # show the Popular Articles sidebar
|
||||
latest: true # show the Latest Articles sidebar
|
Loading…
Reference in New Issue