From 2db13e12873daa37dbb4a02600a6f69095237a07 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 7 Sep 2021 13:03:31 +0100 Subject: [PATCH] Use the page title as the h1 --- source/_layouts/default.html.twig | 2 ++ source/index.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/source/_layouts/default.html.twig b/source/_layouts/default.html.twig index 9bf4b01..8e29949 100644 --- a/source/_layouts/default.html.twig +++ b/source/_layouts/default.html.twig @@ -7,5 +7,7 @@ {% endfor %} +

{{ page.title }}

+ {% block content %}{% endblock %} {% endblock %} diff --git a/source/index.md b/source/index.md index d620bba..11cac3b 100644 --- a/source/index.md +++ b/source/index.md @@ -1,4 +1,6 @@ --- +title: Home layout: default --- + Hello, World!