git ssb

0+

Grey the earthling / gkn.me.uk



Commit f20c57f6161c71790d2a002ae9fcaa5cbf30d94b

Introduce small links with <h2> not <h1>

Produces a better document outline
when ignoring sections.
Greg K Nicholson committed on 2/4/2018, 6:00:05 PM
Parent: f23c91121bc51df71e22fc89a41d4ca0b7a53fa0

Files changed

themes/ran/static/style/ran.csschanged
themes/ran/templates/archives.htmlchanged
themes/ran/templates/article.htmlchanged
themes/ran/templates/period_archives.htmlchanged
themes/ran/static/style/ran.cssView
@@ -323,9 +323,9 @@
323323 .smalllinks li {
324324 display: inline;
325325 }
326326
327- .smalllinks h1,
327 + .smalllinks h2,
328328 .smalllinks a {
329329 display: inline-block;
330330 margin-top: 0;
331331 margin-bottom: 0;
themes/ran/templates/archives.htmlView
@@ -2,9 +2,9 @@
22 {%- block title -%}{{- ARCHIVES_TITLE -}}{%- endblock -%}
33 {%- block pagedetails -%}
44 {{- super() -}}
55 <section class="smalllinks">
6- <h1>Years:</h1>
6 + <h2>Years:</h2>
77 <ul>
88 {%- for article in dates | unique(attribute="date.year") -%}
99 <li>
1010 <a href="/{{- article.date |
@@ -15,9 +15,9 @@
1515 {%- endfor -%}
1616 </ul>
1717 </section>
1818 <section class="smalllinks">
19- <h1>Labels:</h1>
19 + <h2>Labels:</h2>
2020 <ul>
2121 {%- for tag, articles in tags | sort -%}
2222 {%- if articles | list | length > 1 -%}
2323 <li>
themes/ran/templates/article.htmlView
@@ -94,9 +94,9 @@
9494 at least 1 of this article's tags
9595 also appears in another article.
9696 --> -#}
9797 <section class="smalllinks">
98- <h1>Labels:</h1>
98 + <h2>Labels:</h2>
9999 <ul>
100100 {%- for tag in article.tags -%}
101101 {#- <!-- Loop through this article's tags, in order.
102102 --> -#}
themes/ran/templates/period_archives.htmlView
@@ -13,9 +13,9 @@
1313 {{- super() -}}
1414 {%- if period | length == 1 and
1515 dates | unique(attribute="date.month") | list | length > 1 -%}
1616 <section class="smalllinks">
17- <h1>Months:</h1>
17 + <h2>Months:</h2>
1818 <ul>
1919 {%- for article in dates |
2020 reverse |
2121 unique(attribute="date.month") -%}
@@ -34,9 +34,9 @@
3434 </section>
3535 {%- elif period | length == 2 and
3636 dates | unique(attribute="date.day") | list | length > 1 -%}
3737 <section class="smalllinks">
38- <h1>Days:</h1>
38 + <h2>Days:</h2>
3939 <ul>
4040 {%- for article in dates |
4141 reverse |
4242 unique(attribute="date.day") -%}

Built with git-ssb-web