diff options
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/default.html | 2 | ||||
-rw-r--r-- | _layouts/page.html | 4 | ||||
-rw-r--r-- | _layouts/post.html | 23 |
3 files changed, 12 insertions, 17 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index ee363a2..cabcd0b 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -3,7 +3,7 @@ layout: compress --- <!DOCTYPE html> -<html lang="{{ site.lang | strip_newlines | strip_html | strip | slugify }}"> +<html lang="{{ site.lang | strip | slugify | xml_escape }}"> {% include head.html %} <body> diff --git a/_layouts/page.html b/_layouts/page.html index 56d1864..32c9b9f 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -4,10 +4,8 @@ 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 | normalize_whitespace | xml_escape }}</h1> </header> {{ content }} </main> - -{% include aside.html %} diff --git a/_layouts/post.html b/_layouts/post.html index e4aaa10..edbc5b7 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -3,21 +3,18 @@ layout: default --- <article class="container"> - <header> - <h1>{{ page.title | strip_newlines | strip_html| strip | normalize_whitespace | smartify | xml_escape }}</h1> + <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> - <small> - Published <time datetime="{{ page.date | date_to_xmlschema }}"> - {{ page.date | date: '%Y-%m-%d' | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }} - </time> on <a href="{{ site.url | absolute_url | uri_escape }}" target="_self"> - {{ site.title | strip_newlines | strip_html| strip | normalize_whitespace | smartify | xml_escape }} - </a> | <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 }} - - {% include disqus.html %} </article> |