forked from rho_n/hpr_generator
53 lines
1.6 KiB
INI
53 lines
1.6 KiB
INI
# Configure the Perl DBI driver to allow the templates communicate
|
|
# with the database.
|
|
# dbi:<driver name [SQLite, CSV, ADO, mSQL, etc.]>:<database name>
|
|
[DBI]
|
|
driver: dbi:SQLite:hpr.db
|
|
user:
|
|
password:
|
|
|
|
# Configure the root template page which pulls in the navigation and
|
|
# content templates used by each page.
|
|
[root_template]
|
|
content: page.tpl.html
|
|
|
|
# Configure the navigation menu and the content templates for each page
|
|
# of the site:
|
|
|
|
# Configure filename if default name is not desired
|
|
# (Default is "ROOT/[page_name].html"):
|
|
#
|
|
# filename: OPTIONAL <relative path from ROOT -- optional>
|
|
# * <directory path> -- Must end in forward slash. File will be created
|
|
# in this path with the default naming scheme.
|
|
# * <file name> -- May include a relative path. Should include the file
|
|
# 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
|
|
content: content-index.tpl.html
|
|
|
|
[about]
|
|
navigation: navigation-about.tpl.html
|
|
content: content-about.tpl.html
|
|
|
|
[correspondents]
|
|
navigation: navigation-about.tpl.html
|
|
content: content-correspondents.tpl.html
|
|
filename: correspondents/index.html
|
|
|
|
[contact]
|
|
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
|