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:
9
site.cfg
9
site.cfg
@@ -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
|
||||
|
Reference in New Issue
Block a user