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="inner">
<div class="intro-text"> <div class="intro-text">
<h1 class="intro-title">{{ cv.basics.name | default: page.title | markdownify | remove: '<p>' | remove: '</p>' }}</h1> <h1 class="intro-title">{{ cv.basics.name | default: page.title | markdownify | remove: '<p>' | remove: '</p>' }}</h1>

View File

@ -11,7 +11,7 @@
</h3> </h3>
<p class="entry-meta"> <p class="entry-meta">
{% if post.date %} {% 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 %} {% endif %}
</p> </p>
</header> </header>

View File

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

View File

@ -1,4 +1,4 @@
<header id="intro" role="banner"> <header id="intro">
<div class="inner"> <div class="inner">
<div class="intro-text"> <div class="intro-text">
<h1 class="intro-title">{{ page.alt_title | default: page.title | default: site.title | markdownify | strip_html }}</h1> <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"> <main id="main" class="page-content" aria-label="Content">
<div class="inner"> <div class="inner">
<article class="entry-wrap"> <div class="entry-wrap">
<div class="entry-content"> <div class="entry-content">
{{ content }} {{ content }}
</div> </div>
@ -14,7 +14,7 @@ layout: default
{% include author %} {% include author %}
<img class="author-picture" src="{{ author_picture }}" alt="{{ author_name }}"> <img class="author-picture" src="{{ author_picture }}" alt="{{ author_name }}">
</aside> </aside>
</article> </div>
{% include footer.html %} {% include footer.html %}
</div> </div>

View File

@ -12,7 +12,7 @@
{% include skip-links.html %} {% 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> <span class="screen-reader-text">Menu</span>
<div class="navicon"></div> <div class="navicon"></div>
</a> </a>