aboutsummaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/page.html24
1 files changed, 16 insertions, 8 deletions
diff --git a/_layouts/page.html b/_layouts/page.html
index fdd735f..d513db4 100644
--- a/_layouts/page.html
+++ b/_layouts/page.html
@@ -2,11 +2,19 @@
layout: default
---
-<section class="container page">
- <article>
- <header>
- <h1>{{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}</h1>
- </header>
- {{ content }}
- </article>
-</section>
+<div class="content">
+ {% include navbar.html %}
+
+ <article>
+ <header class="header">
+ <h1 class="header-title">
+ {{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}
+ </h1>
+ <p class="header-annotation">
+ {{ page.description | default: site.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}
+ </p>
+ </header>
+
+ {{ content }}
+ </article>
+</div>