summaryrefslogtreecommitdiffstats
path: root/templates/page.html
diff options
context:
space:
mode:
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 %}