Ignore:
Timestamp:
Aug 10, 2008, 5:16:37 PM (15 years ago)
Author:
Sam Hocevar
Message:
  • Move template stuff to the Trac 0.11 layout.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trac/templates/site.html

    r2682 r2683  
    11<html xmlns="http://www.w3.org/1999/xhtml"
    2       xmlns:py="http://genshi.edgewall.org/" py:strip="">
    3   <!--! Custom match templates go here -->
     2      xmlns:py="http://genshi.edgewall.org/"
     3      py:strip="">
     4
     5  <!--! Add site-specific style sheet -->
     6  <head py:match="head" py:attrs="select('@*')">
     7    ${select('*|comment()|text()')}
     8    <link rel="stylesheet" type="text/css"
     9          href="${href.chrome('site/style.css')}" />
     10  </head>
     11
     12  <body py:match="body" py:attrs="select('@*')">
     13    <!--! Add site-specific header -->
     14    <div id="siteheader">
     15      <!--! Place your header content here... -->
     16    </div>
     17
     18    ${select('*|text()')}
     19
     20    <!--! Add site-specific footer -->
     21    <div id="sitefooter">
     22      <!--! Place your footer content here... -->
     23    </div>
     24  </body>
    425</html>
Note: See TracChangeset for help on using the changeset viewer.