aboutsummaryrefslogtreecommitdiff
path: root/_layouts/default.html
diff options
context:
space:
mode:
Diffstat (limited to '_layouts/default.html')
-rw-r--r--_layouts/default.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index 5bbfd3e..7ad1bc5 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -20,8 +20,12 @@
{% include nav.html %}
<div id="container" class="p-6 pt-2 max-w-5xl mx-auto">
<main id="main" class="max-w-5xl">
- {% if page.title %}
- <h1 class="-mt-2">{{ page.title }}</h1>
+ {% if page.header != "false" %}
+ {% if page.header %}
+ <h1 class="-mt-2">{{ page.header }}</h1>
+ {% elsif page.title %}
+ <h1 class="-mt-2">{{ page.title }}</h1>
+ {% endif %}
{% endif %}
{{ content }}
</main>