git ssb

0+

Grey the earthling / gkn.me.uk



Tree: a69243673b022c68aae9ed62d69c212758bcce23

Files: a69243673b022c68aae9ed62d69c212758bcce23 / themes / ran / templates / archives.html

767 bytesRaw
1{% extends "base.html" %}
2{%- block title -%}{{- ARCHIVES_TITLE -}}{%- endblock -%}
3{%- block pagedetails -%}
4 {{- super() -}}
5 <section class="smalllinks">
6 <h1>Years:</h1>
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 </section>
18 <section class="smalllinks">
19 <h1>Labels:</h1>
20 <ul>
21 {%- for tag, articles in tags | sort -%}
22 {%- if articles | list | length > 1 -%}
23 <li>
24 <a href="/entries/{{- tag.slug -}}">
25 {{- tag -}}
26 </a>
27 </li>
28 {%- endif -%}
29 {%- endfor -%}
30 </ul>
31 </section>
32{%- endblock -%}
33
34

Built with git-ssb-web