git ssb

0+

Grey the earthling / gkn.me.uk



Tree: 263dcac6d85effcc6f97824bc6bc03a86122b31f

Files: 263dcac6d85effcc6f97824bc6bc03a86122b31f / themes / ran / templates / archives.html

825 bytesRaw
1{% extends "base.html" %}
2{%- block title -%}{{- ARCHIVES_TITLE -}}{%- endblock -%}
3{%- block pagedetails -%}
4 {{- super() -}}
5 <section class="smalllinks">
6 <h2>Years:</h2>
7 <ul>
8 {%- for article in dates | unique(attribute="date.year") -%}
9 <li>
10 <a href="/{{- article.date |
11 strftime(DATE_FORMAT_YEAR) -}}">
12 {{- article.date | strftime(DATE_FORMAT_YEAR) -}}
13 </a>
14 </li>
15 {%- endfor -%}
16 </ul>
17 <hr class="visuallyhidden">
18 </section>
19 <section class="smalllinks">
20 <h2>Labels:</h2>
21 <ul>
22 {%- for tag, articles in tags | sort -%}
23 {%- if articles | list | length > 1 -%}
24 <li>
25 <a href="/entries/{{- tag.slug -}}">
26 {{- tag -}}
27 </a>
28 </li>
29 {%- endif -%}
30 {%- endfor -%}
31 </ul>
32 <hr class="visuallyhidden">
33 </section>
34{%- endblock -%}
35
36

Built with git-ssb-web