aboutsummaryrefslogtreecommitdiffstats
path: root/templates/taxonomy_single.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/taxonomy_single.html
parent2d7be35ef50d37f5057248d20cbeb1f06fd5cde0 (diff)
added: default taxonomies templates, custom nav links
Diffstat (limited to 'templates/taxonomy_single.html')
-rw-r--r--templates/taxonomy_single.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/taxonomy_single.html b/templates/taxonomy_single.html
index 934cea5..7a3ab44 100644
--- a/templates/taxonomy_single.html
+++ b/templates/taxonomy_single.html
@@ -2,7 +2,6 @@
{% block header %}
<p><a href="{{ current_path }}">..</a>/{{ term.slug }}/</p>
-
<h1>{{ term.name }}</h1>
{% endblock header %}
@@ -15,7 +14,7 @@
<ul>
{% for page in pages %}
<li>
- <a href="{{ page.permalink | safe }}">{{ page.date }} - {{ page.title }}</a>
+ <a href="{{ page.permalink | safe }}">{% if page.date %}{{ page.date }} - {% endif %}{{ page.title }}</a>
<br />
{{ page.description }}
</li>