aboutsummaryrefslogtreecommitdiffstats
path: root/templates/page.html
diff options
context:
space:
mode:
authorAhmed M Alaa <aa@4b.cx>2022-12-05 14:48:27 +0200
committerAhmed M Alaa <aa@4b.cx>2022-12-05 14:48:27 +0200
commit7daa254c0b2be4055a40ef320f44e7d066dca753 (patch)
treea1e5998194299808803a8812d7fe283a0fae0e75 /templates/page.html
parent2d7be35ef50d37f5057248d20cbeb1f06fd5cde0 (diff)
added: default taxonomies templates, custom nav links
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html18
1 files changed, 17 insertions, 1 deletions
diff --git a/templates/page.html b/templates/page.html
index 1e395e3..aab169f 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -29,4 +29,20 @@ Table of contents
{% endif %}
{{ page.content | safe }}
-{% endblock content %} \ No newline at end of file
+{% endblock content %}
+
+{% block footer %}
+<p class="taxonomies">
+{% if page.taxonomies.tags %}
+{% for tag in page.taxonomies.tags %}
+<a href="/tags/{{ tag | slugify }}">#{{ tag }}</a>
+{% endfor %}
+{% for category in page.taxonomies.categories %}
+<a href="/categories/{{ category | slugify }}">+{{ category }}</a>
+{% endfor %}
+{% for context in page.taxonomies.contexts %}
+<a href="/contexts/{{ context | slugify }}">@{{ context }}</a>
+{% endfor %}
+{% endif %}
+</p>
+{% endblock footer %} \ No newline at end of file