aboutsummaryrefslogtreecommitdiffstats
path: root/templates/metadata.inc.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/metadata.inc.html')
-rw-r--r--templates/metadata.inc.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/metadata.inc.html b/templates/metadata.inc.html
new file mode 100644
index 0000000..85011c2
--- /dev/null
+++ b/templates/metadata.inc.html
@@ -0,0 +1,6 @@
+<div>
+ <div><time datetime="{{ article.date.isoformat() }}" pubdate>{{ article.locale_date }}</time></div>
+ {% if article and article.modified %}<div><em>(modified <time datetime="{{ article.modified.isoformat() }}">{{ article.locale_modified }}</time>)</em></div>{% endif %}
+ <div class="mb-2">Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></div>
+ {% if article.tags %}<p class="tags">{% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}" class="tag is-link">{{ tag }}</a>{% endfor %}</p>{% endif %}
+</div>