summaryrefslogtreecommitdiff
path: root/themes/elenq/templates/tag.html
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@protonmail.com>2019-03-28 13:09:33 +0100
committerEkaitz Zárraga <ekaitz.zarraga@protonmail.com>2019-03-28 13:09:33 +0100
commit040fa162f87ccf23e9b2f363326bce84c57d70f8 (patch)
treeff44f7fa8e6f7fa5451bea7b9d1200adf1a85d49 /themes/elenq/templates/tag.html
parent92ddea0bf4e8f939bdce69d65dd15069e774e624 (diff)
add themes page to theme
Diffstat (limited to 'themes/elenq/templates/tag.html')
-rw-r--r--themes/elenq/templates/tag.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/themes/elenq/templates/tag.html b/themes/elenq/templates/tag.html
index e69de29..3ac4e11 100644
--- a/themes/elenq/templates/tag.html
+++ b/themes/elenq/templates/tag.html
@@ -0,0 +1,23 @@
+{% extends "base.html" %}
+{% block content %}
+<section id="content">
+{% block content_title %}
+<h2>Articles in the {{ tag }} tag</h2>
+{% endblock %}
+
+<ol id="post-list">
+{% for article in dates_page.object_list | reverse %}
+ <li><article class="hentry">
+ <header>
+ <h3 class="entry-title"><a class="text-nodeco-black" href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h3>
+ <time class="published" datetime="{{ article.date.isoformat() }}"> {{ article.locale_date }} </time> </header>
+ <div class="entry-content"> {{ article.summary }} </div><!-- /.entry-content -->
+ <footer><a href="{{SITEURL}}/{{article.url}} ">Read More</a></footer>
+ </article></li>
+{% endfor %}
+</ol><!-- /#posts-list -->
+{% if dates_page.has_other_pages() %}
+ {% include 'pagination.html' %}
+{% endif %}
+</section><!-- /#content -->
+{% endblock content %}