summaryrefslogtreecommitdiffstats
path: root/templates_html/page.html
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2026-08-03 13:22:07 +0300
committerJan Tuomi <jan@jantuomi.fi>2026-08-03 13:22:07 +0300
commit23821211e03cd69cf87b2f264b48e0125fcac29d (patch)
tree42bd1a9fd7a8922a5351aed16309331d431acf7a /templates_html/page.html
parent72a42e0449a0cbbbc455b36af9f53fc293c73fdf (diff)
Add gemini protocol
Diffstat (limited to 'templates_html/page.html')
-rw-r--r--templates_html/page.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/templates_html/page.html b/templates_html/page.html
new file mode 100644
index 0000000..61db175
--- /dev/null
+++ b/templates_html/page.html
@@ -0,0 +1,37 @@
+{% extends "base.html" %}
+{% import "macros.html" as macros %}
+{% block content %}
+
+{{ macros::page_content(page=page) }}
+
+<nav class="post-nav" aria-label="Post navigation">
+ {% if page.higher %}
+ <div class="post-nav-left">
+ <a class="post-nav-link" href="{{ page.higher.permalink }}"
+ >← {{ page.higher.title }}</a
+ >
+ </div>
+ {% endif %} {% if page.lower %}
+ <div class="post-nav-right">
+ <a class="post-nav-link" href="{{ page.lower.permalink }}"
+ >{{ page.lower.title }} →</a
+ >
+ </div>
+ {% endif %}
+</nav>
+
+<div style="display: none" class="h-entry">
+ <div class="e-content p-name">{{ page.title }}</div>
+ <a rel="author" class="p-author h-card" href="https://jan.systems">
+ <img
+ class="u-photo"
+ src="https://jan.systems/files/Jan_Tuomi_headshot.jpg"
+ loading="lazy"
+ />
+ Jan Tuomi
+ </a>
+ <a class="u-url" href="https://jan.systems/{{ page.path }}">
+ Published <time class="dt-published">{{ page.date }}</time>
+ </a>
+</div>
+{% endblock %}