popov.link/_layouts/post.html
Valentin Popov 11c402a293
Simplified data generation code
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-01-23 20:23:28 +04:00

21 lines
671 B
HTML

---
layout: default
---
<article class="container">
<small>
<span>Published</span>
<time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: '%Y-%m-%d' | strip | normalize_whitespace | xml_escape }}</time>
<span>on</span>
<a href="{{ site.url | absolute_url | uri_escape }}" target="_self">{{ site.title | strip | normalize_whitespace | xml_escape }}</a>
<span>|</span>
<a href="{{ page.url | absolute_url | uri_escape }}" target="_blank">Permalink</a>
</small>
<header>
<h1>{{ site.title | strip | normalize_whitespace | xml_escape }}</h1>
</header>
{{ content }}
</article>