git ssb

0+

Grey the earthling / gkn.me.uk



Tree: 173a8cf5c44e8a852fa2ab25bb86b1d88de44ae6

Files: 173a8cf5c44e8a852fa2ab25bb86b1d88de44ae6 / 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 {%- for othertag, otherarticles in tags | sort | reverse if
14 othertag.slug < tag.slug and
15 otherarticles | list | length > 1 -%}
16 {%- if loop.index == 1 -%}
17 <li>
18 <a href="/entries/{{- othertag.slug -}}" rel="prev">
19 <span></span>
20 {{- othertag -}}
21 </a>
22 </li>
23 {%- endif -%}
24 {%- endfor -%}
25 <li>
26 <a href="/entries" rel="up">
27 <span></span>
28 {{- ARCHIVES_TITLE -}}
29 </a>
30 </li>
31 {%- for othertag, otherarticles in tags | sort 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="next">
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