Fix HTML validation errors

This commit is contained in:
Michael Rose 2017-03-09 09:24:15 -05:00
parent 56ae20eccd
commit e13c346c4a
6 changed files with 7 additions and 6 deletions

View File

@ -1,4 +1,4 @@
<header id="intro" role="banner">
<header id="intro">
<div class="inner">
<div class="intro-text">
<h1 class="intro-title">{{ cv.basics.name | default: page.title | markdownify | remove: '<p>' | remove: '</p>' }}</h1>

View File

@ -11,7 +11,7 @@
</h3>
<p class="entry-meta">
{% if post.date %}
<time class="entry-time" datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%b %-d, %Y" }}</time>
<time class="entry-time" datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%B %-d, %Y" }}</time>
{% endif %}
</p>
</header>

View File

@ -5,4 +5,5 @@
{% else %}
<p>&copy; {{ site.time | date: '%Y' }} {{ site.title }}.</p>
{% endif %}
</div>
</footer>

View File

@ -1,4 +1,4 @@
<header id="intro" role="banner">
<header id="intro">
<div class="inner">
<div class="intro-text">
<h1 class="intro-title">{{ page.alt_title | default: page.title | default: site.title | markdownify | strip_html }}</h1>

View File

@ -6,7 +6,7 @@ layout: default
<main id="main" class="page-content" aria-label="Content">
<div class="inner">
<article class="entry-wrap">
<div class="entry-wrap">
<div class="entry-content">
{{ content }}
</div>
@ -14,7 +14,7 @@ layout: default
{% include author %}
<img class="author-picture" src="{{ author_picture }}" alt="{{ author_name }}">
</aside>
</article>
</div>
{% include footer.html %}
</div>

View File

@ -12,7 +12,7 @@
{% include skip-links.html %}
<a id="sidebar-toggle" class="toggle navicon-button larr">
<a id="sidebar-toggle" class="toggle navicon-button larr" href="#sidebar">
<span class="screen-reader-text">Menu</span>
<div class="navicon"></div>
</a>