aboutsummaryrefslogtreecommitdiffstats
path: root/templates/blogpost-panel.html.tera
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2023-06-21 23:46:20 +0100
committerLibravatar cel 🌸 <cel@blos.sm>2023-06-21 23:46:20 +0100
commit5f2a48905634e7874946425057dc904dcb6c7d16 (patch)
tree89335193f5303c2d236440d6d88c3a1f00c0c4c9 /templates/blogpost-panel.html.tera
parenta508c3a7b49373d89a0522784a2a7e96b8d873e0 (diff)
downloadblossom-5f2a48905634e7874946425057dc904dcb6c7d16.tar.gz
blossom-5f2a48905634e7874946425057dc904dcb6c7d16.tar.bz2
blossom-5f2a48905634e7874946425057dc904dcb6c7d16.zip
implement blog
Diffstat (limited to 'templates/blogpost-panel.html.tera')
-rw-r--r--templates/blogpost-panel.html.tera8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/blogpost-panel.html.tera b/templates/blogpost-panel.html.tera
new file mode 100644
index 0000000..b722035
--- /dev/null
+++ b/templates/blogpost-panel.html.tera
@@ -0,0 +1,8 @@
+<div class="panel content blogpost">
+ <h1 class="title">{{ blogpost.subject }}</h1>
+ <h2 class="created-at">{{ blogpost.created_at }}<a href="/blog/{{ blogpost.data.name }}">permalink</a></h2>
+ <div class="tags">{% for tag in blogpost.tags %}<a class="tag" href="/tag/{{ tag }}">{{ tag }}</a>{% endfor %}</div>
+ <div class="blogpost-content">
+ {{ blogpost.render }}
+ </div>
+</div>