${_("Context Navigation")}
# if chrome.ctxtnav:-
# for elm in chrome.ctxtnav:
- ${ elm} # endfor
{# Copyright (C) 2006-2022 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')}