git ssb

0+

Grey the earthling / gkn.me.uk



Tree: 2a2b9271cfb5614e3cbf6c6b3ff2f4b127e8abe9

Files: 2a2b9271cfb5614e3cbf6c6b3ff2f4b127e8abe9 / themes / ran / templates / tag.html

1172 bytesRaw
1{% extends "base.html" %}
2{%- block title -%}{{- tag -}}{%- endblock -%}
3{%- block head -%}
4 {{- super() -}}
5 <link href="/entries/{{- tag.slug -}}/feed"
6 rel="alternate"
7 type="application/atom+xml"
8 title="{{ SITENAME }} - {{ tag }}">
9{% endblock %}
10{% block maincontent %}
11 <nav class="nearby">
12 <ul>
13 <li>
14 <a href="/entries" rel="up">
15 <span></span>
16 {{- ARCHIVES_TITLE -}}
17 </a>
18 </li>
19 {%- for othertag, otherarticles in tags | sort if
20 othertag.slug > tag.slug and
21 otherarticles | list | length > 1 -%}
22 {%- if loop.index == 1 %}
23 <li>
24 <a href="/entries/{{- othertag.slug -}}" rel="next">
25 <span></span>
26 {{- othertag -}}
27 </a>
28 </li>
29 {%- endif -%}
30 {%- endfor -%}
31 {%- for othertag, otherarticles in tags | sort | reverse if
32 othertag.slug < tag.slug and
33 otherarticles | list | length > 1 -%}
34 {%- if loop.index == 1 -%}
35 <li>
36 <a href="/entries/{{- othertag.slug -}}" rel="prev">
37 <span></span>
38 {{- othertag -}}
39 </a>
40 </li>
41 {%- endif -%}
42 {%- endfor -%}
43 </ul>
44 </nav>
45 {{- super() -}}
46{% endblock %}
47
48

Built with git-ssb-web