forked from rho_n/hpr_generator
Roan Horning
3d0ddbfe24
Pass the db configuration info to the page templates via the template constants feature.
32 lines
735 B
INI
32 lines
735 B
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 navigation menu and the content templates for each page
|
|
# of the site:
|
|
# [page_name]
|
|
# navigation: <name of navigation template>
|
|
# content: <name of page content template>
|
|
|
|
[index]
|
|
naviation: 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
|
|
|
|
[contact]
|
|
navigation: navigation-about.tpl.html
|
|
content: content-contact.tpl.html
|
|
|
|
|