aboutsummaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
authorValentin Popov <valentineus@gmail.com>2018-04-11 03:39:34 +0300
committerValentin Popov <valentineus@gmail.com>2018-04-11 03:39:34 +0300
commitf2f3b94acc1f889c2199ed121039bd44b0f41d45 (patch)
tree7ab799e56a471986ab98a5fb05e65983a16e0877 /_layouts
parent6e0c8480ad149acf8ef949a4cafee3a860f61b4f (diff)
downloadpopov.link-f2f3b94acc1f889c2199ed121039bd44b0f41d45.tar.xz
popov.link-f2f3b94acc1f889c2199ed121039bd44b0f41d45.zip
Page template
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/page.html20
1 files changed, 8 insertions, 12 deletions
diff --git a/_layouts/page.html b/_layouts/page.html
index 3ab07d9..fdd735f 100644
--- a/_layouts/page.html
+++ b/_layouts/page.html
@@ -2,15 +2,11 @@
layout: default
---
-<div class="container">
- <div class="content">
- <!-- Header -->
- <div class="page-heading">
- {{ page.title | smartify | strip_html | normalize_whitespace }}
- </div>
- <!-- Contents -->
- <div class=markdown>
- {{ content | normalize_whitespace }}
- </div>
- </div>
-</div>
+<section class="container page">
+ <article>
+ <header>
+ <h1>{{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}</h1>
+ </header>
+ {{ content }}
+ </article>
+</section>