git ssb

0+

Grey the earthling / gkn.me.uk



Tree: 867e03bad831281b405a265d9ef54122277cae3f

Files: 867e03bad831281b405a265d9ef54122277cae3f / themes / ran / templates / tag.html

1244 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 if
14 othertag.slug > tag.slug and
15 otherarticles | list | length > 1 -%}
16 {%- if loop.index == 1 %}
17 <li class="next">
18 <a href="/entries/{{- othertag.slug -}}" rel="next">
19 <span></span>
20 {{- othertag -}}
21 </a>
22 </li>
23 {%- endif -%}
24 {%- endfor -%}
25 {%- for othertag, otherarticles in tags | sort | reverse if
26 othertag.slug < tag.slug and
27 otherarticles | list | length > 1 -%}
28 {%- if loop.index == 1 -%}
29 <li class="prev">
30 <a href="/entries/{{- othertag.slug -}}" rel="prev">
31 <span></span>
32 {{- othertag -}}
33 </a>
34 </li>
35 {%- endif -%}
36 {%- endfor -%}
37 <li class="up">
38 <a href="/entries" rel="up">
39 <span></span>
40 {{- ARCHIVES_TITLE -}}
41 </a>
42 </li>
43 </ul>
44 </nav>
45 <hr class="visuallyhidden">
46 {{- super() -}}
47{% endblock %}
48
49

Built with git-ssb-web