summaryrefslogtreecommitdiff
path: root/themes/elenq/templates
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2023-07-18 22:47:19 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2023-07-18 22:47:19 +0200
commitfe1d30dc558f3de9ce2fb5b7d548d651986f0e14 (patch)
tree66457865caa4313bd8752880aa5d7bf497fdbcbb /themes/elenq/templates
parent536a1ae695a5889b4073e73fb7d7ad37cd51c519 (diff)
Show the current series in the post -> using tags
Diffstat (limited to 'themes/elenq/templates')
-rw-r--r--themes/elenq/templates/article.html17
1 files changed, 16 insertions, 1 deletions
diff --git a/themes/elenq/templates/article.html b/themes/elenq/templates/article.html
index 07d5470..868b8bb 100644
--- a/themes/elenq/templates/article.html
+++ b/themes/elenq/templates/article.html
@@ -19,7 +19,8 @@
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(article) }}
- </header>
+
+
<footer class="post-info">
<time class="published" datetime="{{ article.date.isoformat() }}">
{{ article.locale_date }}
@@ -42,6 +43,20 @@
</div>
{% endif %}
</footer><!-- /.post-info -->
+
+ {% if article.tags %}
+ <blockquote class="series">
+ <p>
+ From the series:
+ {% for tag in article.tags %}
+ <a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>
+ {% endfor %}
+ </p>
+ </blockquote>
+ {% endif %}
+ </header>
+
+
<div class="entry-content">
{{ article.content }}
</div><!-- /.entry-content -->