hpr_generator/site.cfg
Roan Horning 3d0ddbfe24
Configure database connection in config file
Pass the db configuration info to the page templates via the
template constants feature.
2022-06-29 10:42:10 -04:00

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