aboutsummaryrefslogtreecommitdiff
path: root/_layouts/page.html
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-04-18 00:07:49 +0300
committerValentin Popov <info@valentineus.link>2018-04-18 00:07:49 +0300
commite1a9f63dc93b8bccdc8fa40ef92359091460d38c (patch)
tree2d3befd95108d6c274b0469c68a4511a25d7a9d0 /_layouts/page.html
parent5a648c6a108073f7ac6dc8b3276e413e4157e7c4 (diff)
downloadpopov.link-e1a9f63dc93b8bccdc8fa40ef92359091460d38c.tar.xz
popov.link-e1a9f63dc93b8bccdc8fa40ef92359091460d38c.zip
Page template
Diffstat (limited to '_layouts/page.html')
-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>