Commits

Georg Brandl committed bd9ed14

Fix #610: remove duplicate <h1> tags in agogo theme.

Comments (0)

Files changed (2)

sphinx/themes/agogo/layout.html

           </a></p>
         {%- endif %}
         {%- block headertitle %}
-        <h1><a href="{{ pathto(master_doc) }}">{{ shorttitle|e }}</a></h1>
+        <div class="headertitle"><a
+          href="{{ pathto(master_doc) }}">{{ shorttitle|e }}</a></div>
         {%- endblock %}
         <div class="rel">
           {%- for rellink in rellinks|reverse %}

sphinx/themes/agogo/static/agogo.css_t

   padding-bottom: 10px;
 }
 
-div.header h1 {
+div.header .headertitle {
   font-family: {{ theme_headerfont }};
   font-weight: normal;
   font-size: 180%;
   letter-spacing: .08em;
+  margin-bottom: .8em;
 }
 
-div.header h1 a {
+div.header .headertitle a {
   color: white;
 }