Edgewall Software

Changes between Version 87 and Version 88 of TracInterfaceCustomization


Ignore:
Timestamp:
Feb 10, 2016, 8:56:46 AM (8 years ago)
Author:
Jun Omae
Comment:

new header syntax with anchor

Legend:

Unmodified
Added
Removed
Modified
  • TracInterfaceCustomization

    v87 v88  
    5353See also TracNavigation for a more detailed explanation of the mainnav and metanav terms.
    5454
    55 == Site Appearance == #SiteAppearance
     55== Site Appearance #SiteAppearance
    5656
    5757Trac is using [http://genshi.edgewall.org Genshi] as the templating engine. Say you want to add a link to a custom stylesheet, and then your own header and footer. Save the following content as `site.html` inside your projects `templates/` directory (each Trac project can have their own `site.html`), eg `/path/to/env/templates/site.html`:
     
    120120Also note that the `site.html`, despite its name, can be put in a shared templates directory, see the [[TracIni#inherit-section|[inherit] templates_dir]] option. This could provide easier maintenance (and a migration path from 0.10 for larger installations) as one new global `site.html` file can be made to include any existing header, footer and newticket snippets.
    121121
    122 == Project List == #ProjectList
     122== Project List #ProjectList
    123123
    124124You can use a custom Genshi template to display the list of projects if you are using Trac with multiple projects.