diff options
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/default.html | 2 | ||||
-rw-r--r-- | _layouts/page.html | 2 | ||||
-rw-r--r-- | _layouts/post.html | 6 |
3 files changed, 5 insertions, 5 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 28cdb0f..32c9b9f 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -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 | normalize_whitespace | xml_escape }}</h1> </header> {{ content }} diff --git a/_layouts/post.html b/_layouts/post.html index 7731828..edbc5b7 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -5,15 +5,15 @@ layout: default <article class="container"> <small> <span>Published</span> - <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: '%Y-%m-%d' | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</time> + <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_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</a> + <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_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</h1> + <h1>{{ site.title | strip | normalize_whitespace | xml_escape }}</h1> </header> {{ content }} |