diff options
| author | Ahmed M Alaa <aa@4b.cx> | 2022-12-05 14:48:27 +0200 |
|---|---|---|
| committer | Ahmed M Alaa <aa@4b.cx> | 2022-12-05 14:48:27 +0200 |
| commit | 7daa254c0b2be4055a40ef320f44e7d066dca753 (patch) | |
| tree | a1e5998194299808803a8812d7fe283a0fae0e75 /templates/page.html | |
| parent | 2d7be35ef50d37f5057248d20cbeb1f06fd5cde0 (diff) | |
added: default taxonomies templates, custom nav links
Diffstat (limited to 'templates/page.html')
| -rw-r--r-- | templates/page.html | 18 |
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 |
