-
Notifications
You must be signed in to change notification settings - Fork 9
Configuration
Jeff Gordon edited this page Feb 4, 2015
·
24 revisions
Site configuration is done in three areas:
- index.shtm files (site and section options)
- nav folders (navigation and search options)
- content pages (page options)
index.shtm files are hierarchical and processed top to bottom based on the URL. For example, for the URL: http://example.org/foo/bar/page.htm, the following index.shtm files will be loaded in this order:
- http://example.org/index.shtm
- http://example.org/foo/index.shtm
- http://example.org/foo/bar/index.shtm
Set in index.shtm files and shown in the header of content pages. Applies to entire site.
- Title: site-title-(lang) variable
- Title link: site-href-(lang) variable
Set in index.shtm files and shown on splash pages and in breadcrumbs. Applies to pages in the same folder as the index.shtm file and all its recursive subfolders.
- Creator: sect-creator-(lang) variable
- Date issued: sect-modified variable
- Date modified: sect-modified variable
- Nav folder location: sect-menupath variable (path to navigation and search options folder, see below)
- Subject: sect-subject-(lang) variable
- Title: sect-title-(lang) variable
- Title link: sect-href-(lang) variable
Set in nav folders and shown in the template area of content pages. Applies to all pages within a section (see above).
- Footer menu: nav/footer-(lang).shtm
- Primary menu: nav/menu-(lang).shtm file (top level items only) and nav/ajax/sitemenu-(lang).html (complete menu with dropdowns)
- Search form: nav/search-(lang).shtm
- Secondary menu: nav/sec-(lang).shtm
Set in each page and shown in the content area of the page. Applies to a single content page only.
- Creator: pg-creator-(lang) variable
- Date issued: pg-issued-(lang) variable
- Date modified: pg-modified-(lang) variable
- Language: pg-lang1 variable
- Secondary navigation: pg-sec variable (optional, path to an HTML location)
- Subject: pg-subject-(lang) variable
- Title: pg-title-(lang) variable