git ssb

0+

Grey the earthling / gkn.me.uk



Tree: 173a8cf5c44e8a852fa2ab25bb86b1d88de44ae6

Files: 173a8cf5c44e8a852fa2ab25bb86b1d88de44ae6 / 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