Page template

This commit is contained in:
Valentin Popov 2018-04-18 01:07:49 +04:00
parent 5a648c6a10
commit e1a9f63dc9
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3

View File

@ -2,11 +2,19 @@
layout: default
---
<section class="container page">
<div class="content">
{% include navbar.html %}
<article>
<header>
<h1>{{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}</h1>
<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>
</section>
</div>