git ssb

0+

Grey the earthling / gkn.me.uk



Tree: a69243673b022c68aae9ed62d69c212758bcce23

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

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

Built with git-ssb-web