aboutsummaryrefslogtreecommitdiffstats
path: root/templates/article.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/article.html')
-rw-r--r--templates/article.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/article.html b/templates/article.html
new file mode 100644
index 0000000..1332097
--- /dev/null
+++ b/templates/article.html
@@ -0,0 +1,25 @@
+{% extends "base.html" %}
+{% block title %}{{ article.title }} - {{ SITENAME }}{% endblock %}
+
+{% block extra_meta %}
+ <meta name="description" content="{{ article.summary|striptags }}">
+{% endblock %}
+
+{% block content %}
+<div class="level">
+ <div class="level-left" style="margin-top: auto">
+ <div class="level-item">
+ <h1 class="title">{{ article.title }}</h1>
+ </div>
+ </div>
+ <div class="level-right">
+ <div class="level-item">
+ {% include 'metadata.inc.html' %}
+ </div>
+ </div>
+</div>
+<hr>
+<article class="content">
+ {{ article.content }}
+</article>
+{% endblock %}