Merge branch 'new_howto_theme' into 'master'

New howto theme

See merge request disroot/howto!150
This commit is contained in:
antil0pa 2019-08-13 16:01:34 +02:00
commit d68134ab69
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,9 @@
<?php
namespace Grav\Theme;
use Grav\Common\Theme;
class Howto extends Theme
{
// Access plugin events in this class
}

View File

@ -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