summaryrefslogtreecommitdiffstats
path: root/templates/page.html
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2026-01-02 15:16:23 +0200
committerJan Tuomi <jan@jantuomi.fi>2026-01-02 16:21:05 +0200
commit5a05ca47edca3a5cf8fad2e19a533faaa1c7b362 (patch)
treee828d52402354f518c12649589544dcf04a7f72e /templates/page.html
parent0e0701cb3baf603e1773194031ab37ec779dd8ff (diff)
Implement now page
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html10
1 files changed, 1 insertions, 9 deletions
diff --git a/templates/page.html b/templates/page.html
index 6c288d1..61db175 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -2,15 +2,7 @@
{% import "macros.html" as macros %}
{% block content %}
-<h1>
- {{ page.title }}<br />
- {% if page.date %}
- <small>({{ page.date }})</small>
- {% endif %}
- <small>[{{ page.extra.kind }}]</small>
-</h1>
-
-{{ page.content | replace(from="<!-- toc -->", to=macros::toc(page=page)) | safe }}
+{{ macros::page_content(page=page) }}
<nav class="post-nav" aria-label="Post navigation">
{% if page.higher %}