[imp] Semantic structure improvements

This commit is contained in:
Seth Warburton 2015-01-02 12:14:58 +00:00
parent e40e12fabd
commit 21bd3e6c5a
2 changed files with 8 additions and 8 deletions

View File

@ -1,14 +1,14 @@
--- ---
layout: default layout: default
--- ---
<div class="post"> <article class="post">
<header class="post-header"> <header class="post-header">
<h1 class="post-title">{{ page.title }}</h1> <h1 class="post-title">{{ page.title }}</h1>
</header> </header>
<article class="post-content"> <div class="post-content">
{{ content }} {{ content }}
</article> </div>
</div> </article>

View File

@ -1,15 +1,15 @@
--- ---
layout: default layout: default
--- ---
<div class="post" itemscope itemtype="http://schema.org/BlogPosting"> <article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<header class="post-header"> <header class="post-header">
<h1 class="post-title" itemprop="name headline">{{ page.title }}</h1> <h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
<p class="post-meta"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}</time>{% if page.author %} • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p> <p class="post-meta"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}</time>{% if page.author %} • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
</header> </header>
<article class="post-content" itemprop="articleBody"> <div class="post-content" itemprop="articleBody">
{{ content }} {{ content }}
</article> </div>
</div> </article>