aboutsummaryrefslogtreecommitdiffstats
path: root/templates/blogpost-panel.html.tera
diff options
context:
space:
mode:
Diffstat (limited to '')
-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>