From: Mike Bayer Date: Tue, 12 Nov 2013 01:27:40 +0000 (-0500) Subject: move the css to the base so that the site can override X-Git-Tag: rel_0_9_0~125^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=48d41075fdfe3da28aa4be1cb0e52d8e3ce3db37;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git move the css to the base so that the site can override --- diff --git a/doc/build/templates/layout.mako b/doc/build/templates/layout.mako index 8ba9362e2e..a879fa4819 100644 --- a/doc/build/templates/layout.mako +++ b/doc/build/templates/layout.mako @@ -44,17 +44,9 @@ withsidebar = bool(toc) and current_page_name != 'index'
-<%block name="css"> - - % for cssfile in default_css_files + css_files: - - % endfor - - <%block name="headers"> - ${parent.headers()} diff --git a/doc/build/templates/static_base.mako b/doc/build/templates/static_base.mako index a8ec2329fe..9eb5ec0463 100644 --- a/doc/build/templates/static_base.mako +++ b/doc/build/templates/static_base.mako @@ -9,7 +9,15 @@ <%block name="head_title"> - <%block name="css"/> + + <%block name="css"> + + % for cssfile in self.attr.default_css_files + css_files: + + % endfor + + + <%block name="headers"/>