From c1856d1f3edbc4b32be5860233dede88db16a7bb Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Thu, 1 Jan 2026 17:36:39 +0200 Subject: Start migrating content --- templates/page.html | 38 +++++++++----------------------------- 1 file changed, 9 insertions(+), 29 deletions(-) (limited to 'templates/page.html') diff --git a/templates/page.html b/templates/page.html index 19f42a7..7120590 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1,41 +1,21 @@ -{% extends "base.html" %} {% block content %} +{% extends "base.html" %} +{% import "macros.html" as macros %} +{% block content %}

{{ page.title }}
- {{ page.date }} + ({{ page.date }}) [{{ page.extra.kind }}]

-{% block lede %} -

{{ page.description }}

-{% endblock %} - -{% block toc %} - -{% endblock %} - -{{ page.content | safe }} +{{ page.content | replace(from="", to=macros::toc(page=page)) | safe }} -- cgit v1.3