Minimal page templates

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2018-05-15 15:05:33 +04:00
parent 035b1840d6
commit c5b63ba4f1
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
3 changed files with 9 additions and 9 deletions

View File

@ -14,7 +14,6 @@ layout: compress
{{ content }}
</main>
{% include javascript.html %}
</body>
</html>

View File

@ -3,8 +3,11 @@ layout: default
---
<article>
<header>
<h1>{{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</h1>
<header class="page-header">
<h1 class="text-muted">
{{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
<p><small>{{ page.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</small></p>
</h1>
</header>
{{ content }}

View File

@ -3,12 +3,10 @@ layout: default
---
<article>
<header>
<h1>
{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
<p>
<small><time datetime="{{ page.date | date_to_xmlschema}}">{{ page.date | date_to_long_string }}</time></small>
</p>
<header class="page-header">
<h1 class="text-muted">
{{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
<p><small><time datetime="{{ page.date | date_to_xmlschema}}">{{ page.date | date_to_long_string }}</time></small></p>
</h1>
</header>