Minimal page templates
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
035b1840d6
commit
c5b63ba4f1
@ -14,7 +14,6 @@ layout: compress
|
||||
{{ content }}
|
||||
</main>
|
||||
|
||||
{% include javascript.html %}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
@ -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 }}
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user