1
0
forked from HPR/hpr_generator

Allow multiple pages to be generated from one template

Feature to allow generation of host and episode pages.
This commit is contained in:
2022-07-28 22:04:15 -04:00
parent 873cfda86a
commit 7770f67409
5 changed files with 72 additions and 16 deletions

View File

@@ -24,6 +24,9 @@ content: page.tpl.html
# extension. May have [id] marker in path or name which
# will be substituted with a padded page id.
# Configure pages which use the same content template:
#
# multipage: OPTIONAL true | false (DEFAULT = false)
[index]
navigation: navigation-main.tpl.html
@@ -42,4 +45,8 @@ filename: correspondents/index.html
navigation: navigation-about.tpl.html
content: content-contact.tpl.html
[correspondent]
navigation: navigation-about.tpl.html
content: content-correspondent.tpl.html
multipage: true
filename: correspondents/[id]/index.html