diff options
Diffstat (limited to 'doc/build/templates/layout.mako')
-rw-r--r-- | doc/build/templates/layout.mako | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/build/templates/layout.mako b/doc/build/templates/layout.mako index 5402ac1..a2a3020 100644 --- a/doc/build/templates/layout.mako +++ b/doc/build/templates/layout.mako @@ -21,12 +21,20 @@ docs-copyright </%doc> -<%inherit file="${context['mako_layout']}"/> +<%inherit file="base.mako"/> <% withsidebar = bool(toc) and current_page_name != 'index' %> +<%block name="head_title"> + % if current_page_name != 'index': + ${capture(self.show_title) | util.striptags} — + % endif + ${docstitle|h} +</%block> + + <div id="docs-container"> <%block name="headers"> @@ -120,9 +128,7 @@ withsidebar = bool(toc) and current_page_name != 'index' <h2> <%block name="show_title"> - % if title: ${title} - % endif </%block> </h2> </div> |