summaryrefslogtreecommitdiff
path: root/templates/blog-article.html
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2023-10-31 23:23:51 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2023-10-31 23:23:51 +0100
commitef15a6ec8f14c2398cfd28786c83072888690718 (patch)
tree824ada8072ac1e0ee4870989679cf5deb7d99bd1 /templates/blog-article.html
oijoij
Diffstat (limited to 'templates/blog-article.html')
-rw-r--r--templates/blog-article.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/blog-article.html b/templates/blog-article.html
new file mode 100644
index 0000000..ccdd019
--- /dev/null
+++ b/templates/blog-article.html
@@ -0,0 +1,21 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+<div class="article-header">
+<h1>{{ page.title }}</h1>
+<div class="info">
+ <p class="date">{{ page.date | date(format="%B %-d, %Y") }}</p>
+ <p class="tags">
+ {% for tag in page.taxonomies["tags"] %}
+ <a href="{{ get_taxonomy_url(kind="tags", name=tag) }}">#{{ tag }}</a>
+ {%- endfor %}
+ </p>
+</div>
+</div>
+
+<div class="typography">
+{{ page.content | safe }}
+</div>
+
+{% endblock %}