aboutsummaryrefslogtreecommitdiff
path: root/_layouts/post.html
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-12-07 00:28:12 +0300
committerValentin Popov <info@valentineus.link>2018-12-07 00:28:12 +0300
commitad7596273182c47ec0127d0230b3543fbe9e45fb (patch)
tree66289fe0526f749934d2d4597a859ec6660abc17 /_layouts/post.html
parent1cead691ca1d7fbfd8dba538dfef205d36a09acf (diff)
downloadpopov.link-ad7596273182c47ec0127d0230b3543fbe9e45fb.tar.xz
popov.link-ad7596273182c47ec0127d0230b3543fbe9e45fb.zip
feat(html): Adding roles to the standard HTML
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_layouts/post.html')
-rw-r--r--_layouts/post.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/_layouts/post.html b/_layouts/post.html
index c093f58..6273958 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -6,12 +6,17 @@ layout: default
<!-- Header -->
<header>
- <h1>{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</h1>
+ <h1 aria-level="1" role="heading">
+ {{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
+ </h1>
</header>
<!-- Content -->
- <section>
+ <section role="article">
{{ content }}
</section>
+ <!-- Comments -->
+ {% include disqus.html %}
+
</article>