zpwiki/themes/mytheme/mytheme.yaml

27 lines
1.1 KiB
YAML
Raw Permalink 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:
2020-10-03 09:55:52 +00:00
root: / # the route where the articles themselves live
2020-10-03 08:12:41 +00:00
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
2020-10-03 09:34:49 +00:00
maxrows: 6 # the maximum number of rows on the front page
maxentries: 10 # maximum number of articles displayed for each category
2020-10-03 08:12:41 +00:00
sidebar: # params for the sidebar
maxentries: 5 # maximum number of articles to display in "Popular" and "Latest" sections
show:
2020-10-03 14:35:54 +00:00
categories: true # 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