fix(pages): Catching visual headline

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2018-12-16 18:11:46 +04:00
parent d53231853a
commit 55683500ee
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@ layout: default
<header> <header>
<h1 aria-level="1" role="heading"> <h1 aria-level="1" role="heading">
{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }} {{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
<hr />
</h1> </h1>
</header> </header>

View File

@ -8,6 +8,7 @@ layout: default
<header> <header>
<h1 aria-level="1" role="heading"> <h1 aria-level="1" role="heading">
{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }} {{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
<hr />
</h1> </h1>
</header> </header>