summaryrefslogtreecommitdiffstats
path: root/templates/page.html
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2023-01-20 12:06:49 +0100
committerDennis Eriksen <d@ennis.no>2023-01-20 12:06:49 +0100
commitd1d65c94b888c2959c9da799e4329161ede449ea (patch)
tree7551a0488ebd56d337a5bf22d7b5ec21a0a4a4e2 /templates/page.html
parentrelative links on front page (diff)
downloadrikerz-d1d65c94b888c2959c9da799e4329161ede449ea.tar.gz
Made Riker into a Zola-theme - Rikerz
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 }} &middot; {{ 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 %}