git ssb

0+

Grey the earthling / gkn.me.uk



Tree: eb7713aa95a037673eca630953d54d05cdb76221

Files: eb7713aa95a037673eca630953d54d05cdb76221 / themes / ran / templates / tag.html

1201 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 <hr class="visuallyhidden">
46 {{- super() -}}
47{% endblock %}
48
49

Built with git-ssb-web