{# Copyright (C) 2006-2016 Edgewall Software This software is licensed as described in the file COPYING, which you should have received as part of this distribution. The terms are also available at https://trac.edgewall.org/wiki/TracLicense. This software consists of voluntary contributions made by many individuals. For the exact contribution history, see the revision history and logs, available at https://trac.edgewall.org/. #} ## This is Trac's default theme {# jinjacheck: "attribute lang" OK #} # block head # endblock head {# jinjacheck: "()" OK #} # block body # include 'site_header.html' ignore missing {# ------------------------------------------------------------------ Note: here we produce the main structure of the body element: div id="banner" div id="header" ... logo + metanav ... /div ... mainnav ... /div div id="main" ... ctxtnav [+ warnings][+ notices] ... # block content (here goes the content block produced by the end user page, typically a "content" div, which could (should!) be followed by the parent content produced by the layout.html page) # endblock content /div div id="footer" ... /div It's entirely possible for the end user page to prepend to, append to, or replace this default structure by redefining the body block, but it should be seldom needed. ------------------------------------------------------------------ #} # macro navigation(category) # endmacro ${navigation('mainnav')}
# include resourcepath_template if resourcepath_template ignore missing ${jmacros.warnings(chrome.warnings)} ${jmacros.notices(chrome.notices)} # block content {# ------------------------------------------------------------------ Note: here should go the content defined by the end user page. See layout.html which defines an useful default content for this block and has more detailed usage notes. ------------------------------------------------------------------ #} # endblock content
# include 'site_footer.html' ignore missing # endblock body {# jinjacheck: "got (html)" OK #}