Improved page layer

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2018-04-23 00:52:21 +04:00
parent 824ebd27d6
commit e292dce707
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3

View File

@ -3,16 +3,9 @@ layout: default
--- ---
<div class="content"> <div class="content">
{% include navbar.html %}
<article> <article>
<header class="header"> <header>
<h1 class="header-title"> <h1>{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | capitalize }}</h1>
{{ 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> </header>
{{ content }} {{ content }}