diff options
Diffstat (limited to 'doc/build/templates/layout.mako')
-rw-r--r-- | doc/build/templates/layout.mako | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/build/templates/layout.mako b/doc/build/templates/layout.mako index edb508fa5..16eab236a 100644 --- a/doc/build/templates/layout.mako +++ b/doc/build/templates/layout.mako @@ -2,8 +2,14 @@ <%! local_script_files = [] + + default_css_files = [ + '_static/pygments.css', + '_static/docs.css', + ] %> + <%doc> Structural elements are all prefixed with "docs-" to prevent conflicts when the structure is integrated into the @@ -38,12 +44,12 @@ withsidebar = bool(toc) and current_page_name != 'index' <div id="docs-container"> + <%block name="headers"> + ${parent.headers()} <!-- begin layout.mako headers --> - <link rel="stylesheet" href="${pathto('_static/pygments.css', 1)}" type="text/css" /> - <link rel="stylesheet" href="${pathto('_static/docs.css', 1)}" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { |