Commits

Mike Bayer committed 48d4107

move the css to the base so that the site can override

Comments (0)

Files changed (2)

doc/build/templates/layout.mako

 
 <div id="docs-container">
 
-<%block name="css">
-    <!-- begin iterate through SQLA + sphinx environment css_files -->
-    % for cssfile in default_css_files + css_files:
-        <link rel="stylesheet" href="${pathto(cssfile, 1)}" type="text/css" />
-    % endfor
-    <!-- end iterate through SQLA + sphinx environment css_files -->
-</%block>
 
 <%block name="headers">
 
-
     ${parent.headers()}
 
     <!-- begin layout.mako headers -->

doc/build/templates/static_base.mako

             <%block name="head_title">
             </%block>
         </title>
-        <%block name="css"/>
+
+        <%block name="css">
+            <!-- begin iterate through SQLA + sphinx environment css_files -->
+            % for cssfile in self.attr.default_css_files + css_files:
+                <link rel="stylesheet" href="${pathto(cssfile, 1)}" type="text/css" />
+            % endfor
+            <!-- end iterate through SQLA + sphinx environment css_files -->
+        </%block>
+
         <%block name="headers"/>
     </head>
     <body>