summaryrefslogtreecommitdiffstats
path: root/templates/page.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/page.html b/templates/page.html
new file mode 100644
index 0000000..6a83bc0
--- /dev/null
+++ b/templates/page.html
@@ -0,0 +1,23 @@
+{% extends "index.html" %}
+
+{% block title %}{{ page.title }} · {{ config.title }}{% endblock title %}
+
+{% block header %}
+<header>
+ <a href="/"><img id="logofloat" src="{{ config.extra.logo }}" /></a>
+</header>
+{% endblock header %}
+
+{% block content %}
+ <article>
+ <h1>{{ page.title }}</h1>
+ <span class="single-date">{{ page.date | date(format="%B %e, %Y") }}</span>
+{% if page.updated | date %}
+ <br>
+ <span class="single-date"><small>Last modified {{ page.updated | date(format="%B %e, %Y") }}</small></span>
+{% endif %}
+
+{{ page.content | safe }}
+
+ </article>
+{% endblock content %}