Added basic microdata

This commit is contained in:
robschia 2014-12-06 00:32:05 +01:00
parent 89bdd47ebc
commit 9b6eeba81e
1 changed files with 4 additions and 4 deletions

View File

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