popov.link/_layouts/post.html
Valentin Popov a4251a91b4
Updated the header on the posts page
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-01-23 19:55:11 +04:00

27 lines
804 B
HTML

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