{% extends "base.html" %} {%- block title -%}{{- tag -}}{%- endblock -%} {%- block head -%} {{- super() -}} {% endblock %} {% block maincontent %} ↑ {{- ARCHIVES_TITLE -}} {%- for othertag, otherarticles in tags | sort if othertag.slug > tag.slug and otherarticles | list | length > 1 -%} {%- if loop.index == 1 %} → {{- othertag -}} {%- endif -%} {%- endfor -%} {%- for othertag, otherarticles in tags | sort | reverse if othertag.slug < tag.slug and otherarticles | list | length > 1 -%} {%- if loop.index == 1 -%} ← {{- othertag -}} {%- endif -%} {%- endfor -%} {{- super() -}} {% endblock %}