Fixed HTML validation errors

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2019-05-03 17:39:31 +04:00
parent c1489ff81b
commit eddaefbae1
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
5 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
<aside class="sidebar" role="navigation">
<aside class="sidebar">
<div class="avatar">
<img alt="Avatar" src="{{ site.avatar | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}" />
<img alt="[Avatar]" src="{{ site.avatar | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}" />
</div>
<p>{{ site.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</p>

View File

@ -1,5 +1,5 @@
<div id="disqus_thread"></div>
<script defer type="text/javascript">
<script type="text/javascript">
var disqus_config = function () {
this.page.identifier = '{{ page.id | strip_newlines | strip_html | strip | normalize_whitespace | slugify }}';
this.page.title = '{{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}';

View File

@ -3,7 +3,7 @@ layout: compress
---
<!DOCTYPE html>
<html class="no-js" lang="{{ site.lang | strip_newlines | strip_html | strip | slugify }}">
<html lang="{{ site.lang | strip_newlines | strip_html | strip | slugify }}">
{% include head.html %}
<body>

View File

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

View File

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