zpwiki/themes/mytheme/mytheme.yaml

27 lines
1.1 KiB
YAML
Raw Normal View History

2020-10-01 12:52:17 +00:00
streams:
schemes:
theme:
type: ReadOnlyStream
prefixes:
'':
- user/themes/mytheme
- user/themes/knowledge-base
2020-10-03 08:12:41 +00:00
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:
2020-10-03 08:16:41 +00:00
categories: false # show Category list in the sidebar
2020-10-03 08:12:41 +00:00
popular: true # show the Popular Articles sidebar
latest: true # show the Latest Articles sidebar