summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content/posts/now-2026-summer/index.md1
-rw-r--r--templates_html/macros.html2
-rw-r--r--templates_html/page.html29
3 files changed, 14 insertions, 18 deletions
diff --git a/content/posts/now-2026-summer/index.md b/content/posts/now-2026-summer/index.md
index bca2ac3..e5ec895 100644
--- a/content/posts/now-2026-summer/index.md
+++ b/content/posts/now-2026-summer/index.md
@@ -5,6 +5,7 @@ description: |
Got married! Broke my elbow while bouldering, writing this on sick leave. Added Gemini capsule version of this site.
extra:
kind: now
+ wm_in_reply_to: "https://aaronparecki.com/2018/06/30/11/your-first-webmention"
---
Got married! Broke my elbow while bouldering, writing this on sick leave. Added Gemini capsule version of this site.
diff --git a/templates_html/macros.html b/templates_html/macros.html
index 3922659..c1f54d1 100644
--- a/templates_html/macros.html
+++ b/templates_html/macros.html
@@ -29,7 +29,7 @@
{% macro page_h1(page) %}
<h1>
- {{ page.title }}<br />
+ <span class="p-name">{{ page.title }}</span><br />
{% if page.date %}
<small>({{ page.date }})</small>
{% endif %}
diff --git a/templates_html/page.html b/templates_html/page.html
index 2d60db3..b4986fa 100644
--- a/templates_html/page.html
+++ b/templates_html/page.html
@@ -2,7 +2,19 @@
{% import "macros.html" as macros %}
{% block content %}
+<article class="h-entry">
{{ macros::page_content(page=page) }}
+<span class="p-author h-card">
+ <img class="u-photo" src="https://jan.systems/files/Jan_Tuomi_headshot.jpg" loading="lazy" style="display:none" />
+ <a class="p-name u-url" href="https://jan.systems" style="display:none">Jan Sydänviita (né Tuomi)</a>
+</span>
+<a class="u-url" href="{{ page.permalink }}" hidden></a>
+<time class="dt-published" datetime="{{ page.date }}" hidden></time>
+{% if page.extra.wm_in_reply_to %}
+<a class="u-in-reply-to" href="{{ page.extra.wm_in_reply_to }}" hidden></a>
+{% endif %}
+
+</article>
<div id="webmentions"></div>
<script>
@@ -40,21 +52,4 @@ fetch(`https://webmention.io/api/mentions.jf2?target={{ page.permalink | safe }}
</div>
{% endif %}
</nav>
-
-<div style="display: none" class="h-entry">
- <div class="p-name">{{ page.title }}</div>
- <span class="p-author h-card">
- <img
- class="u-photo"
- src="https://jan.systems/files/Jan_Tuomi_headshot.jpg"
- loading="lazy"
- />
- <a class="p-name u-url" href="https://jan.systems">Jan Sydänviita (né Tuomi)</a>
- </span>
- <a class="u-url" href="{{ page.permalink }}">
- Published <time class="dt-published">{{ page.date }}</time>
- </a>
- <p class="e-content">Testing, don't mind me</p>
- <a class="u-in-reply-to" href="https://aaronparecki.com/2018/06/30/11/your-first-webmention">@aaronpk</a>
-</div>
{% endblock %}