git ssb

0+

Grey the earthling / gkn.me.uk



Tree: 966d4f5fcc2f3b454517e361937753fef22764e3

Files: 966d4f5fcc2f3b454517e361937753fef22764e3 / themes / ran / templates / archives.html

785 bytesRaw
1{% extends "base.html" %}
2{%- block title -%}{{- ARCHIVES_TITLE -}}{%- endblock -%}
3{%- block body_main_header_details_main -%}
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