0
mirror of https://github.com/valentineus/popov.link.git synced 2025-07-03 16:10:26 +03:00

Deleted variable declaration

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2020-01-23 20:08:52 +04:00
parent 8184c94034
commit 28aec1dfdd
6 changed files with 16 additions and 50 deletions

View File

@ -4,7 +4,7 @@ layout: default
<main class="container">
<header>
<h1>{{ page.title | default: site.title | strip_newlines | strip_html| strip | normalize_whitespace | smartify | xml_escape }}</h1>
<h1>{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</h1>
</header>
{{ content }}

View File

@ -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 = "" %}