diff options
author | Valentin Popov <info@valentineus.link> | 2020-01-23 19:08:52 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-01-23 19:12:44 +0300 |
commit | 28aec1dfdd90b7ffdd11321895ac37c0c2ab6fc6 (patch) | |
tree | 827c4f21448446777e651e05582222fcd4379894 /_layouts/post.html | |
parent | 8184c9403408ec66c19cdee80d55d9db7ecf87c7 (diff) | |
download | popov.link-28aec1dfdd90b7ffdd11321895ac37c0c2ab6fc6.tar.xz popov.link-28aec1dfdd90b7ffdd11321895ac37c0c2ab6fc6.zip |
Deleted variable declaration
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_layouts/post.html')
-rw-r--r-- | _layouts/post.html | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index 9e0a766..7731828 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -2,25 +2,19 @@ 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> + <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: '%Y-%m-%d' | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</time> <span>on</span> - <a href="{{ site.url | absolute_url | uri_escape }}" target="_self">{{ title }}</a> + <a href="{{ site.url | absolute_url | uri_escape }}" target="_self">{{ site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</a> <span>|</span> <a href="{{ page.url | absolute_url | uri_escape }}" target="_blank">Permalink</a> </small> <header> - <h1>{{ title }}</h1> + <h1>{{ site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</h1> </header> {{ content }} </article> - -{% assign date = "" %} -{% assign title = "" %} |