Content

Site configuration

There are two configuration files that affect the way Pagegen generates files, they are:

The format is Key=Value, and # to comment. The files accept the same settings. To set options globally use pagegen.conf and for site specific use site.conf. If settings are set in both files the setting from the site.conf will be used. Currently the following settings are available.

Setting nameSetting valuesDescription
add_accessibility_bookmarks1 or 0If 1 then bookmarks are added to the main menu and content, to facilitate accessibility
create_sitemap_xml1 or 0If 1 a sitemap.xml will be created and added to the web root folder. Must also set sitemap_page_base_url
filter_svn_dirs1 or 0If 1 then .svn directories will not be included in output. Note that if used with the symlink_site_include_dir setting any .svn directories in the include directory will not be removed (that would mean loosing any revision control that was put on the include directory)
omit_crumb_trail1 or 0If 1 then the crumb trail is not included in output
omit_home_from_main_menu1 or 0If 1 then the Home link is not included in the main menu
omit_last_changed1 or 0If 1 then the last changed string is not included in output
omit_sub_menu1 or 0If 1 the section menu is not included in output
pextile_print_urls1 or 0If 1 all links in the content will have a span tag with class pg_print_url. Using CSS the URL can be visible only when printing
place_navigation_after_content1 or 0If 1 then the navigational elements are placed after the content in the HTML file, useful for creating accessible pages
site_base_urlSite URLUsed to generate proper links for the sitemap.xml and for print urls
symlink_site_include_dir1 or 0If 1 then instead of copying the [site directory]/include directory to the output folder, a symlink is made instead
Last changed 2009-10-17 21:09