Edgewall Software

Changes between Version 4 and Version 5 of CookBook/TracLayoutRecipe


Ignore:
Timestamp:
Jan 6, 2019, 5:13:31 PM (5 years ago)
Author:
Christian Boos
Comment:

add placeholder for Jinja2 recipe (#12681)

Legend:

Unmodified
Added
Removed
Modified
  • CookBook/TracLayoutRecipe

    v4 v5  
    77The layout described below is ideal for Trac setups where one organization (e.g. Edgewall Software) offers multiple projects (e.g. Trac, Bitten, Genshi, etc.).
    88
    9 == Prepare `site.html` Template
     9== Genshi `site.html` Template for Trac < 1.3.2 #Genshi
    1010
    1111The first step is to prepare a `site.html` template that will be used by all projects.
     
    2222 - It includes a '''left box''' and '''right box''' that will appear on the left-hand side and right-hand side of each page. You can use these boxes for whatever you want (e.g. quick links, Google ads, etc.). An example for a left box is included in `templates/site_leftbox.html` in the [attachment:TracLayoutRecipe.zip zip archive]. There is no right box in the example.
    2323 - There is also a '''footer''' section for contact and copyright information, or anything else you like to put there.
     24
     25
     26== Jinja2 `site_head.html`, `site_header.html`, and `site_footer.html` Templates for Trac >= 1.3.2 #Jinja2
     27
     28TODO
    2429
    2530== Adjust the Site Style Sheet #SiteCss