Merge branch 'hotfix/schema'

This commit is contained in:
Michael Rose 2013-07-29 15:43:53 -04:00
commit 396b0a8aeb
2 changed files with 2 additions and 2 deletions

View file

@ -7,6 +7,6 @@ description: "An archive of posts sorted by date."
<ul class="post-list"> <ul class="post-list">
{% for post in site.posts %} {% for post in site.posts %}
<li><article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost"><a href="{{ site.url }}{{ post.url }}">{{ post.title }} <span class="entry-date"><time datetime="{{ post.date | date_to_xmlschema }}" itemprop="datePublished">{{ post.date | date: "%B %d, %Y" }}</time></span></a></article></li> <li><article><a href="{{ site.url }}{{ post.url }}">{{ post.title }} <span class="entry-date"><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%B %d, %Y" }}</time></span></a></article></li>
{% endfor %} {% endfor %}
</ul> </ul>

View file

@ -7,6 +7,6 @@ tags: [Jekyll, theme, themes, responsive, blog, minimalism]
<ul class="post-list"> <ul class="post-list">
{% for post in site.posts limit:10 %} {% for post in site.posts limit:10 %}
<li><article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost"><a href="{{ site.url }}{{ post.url }}">{{ post.title }} <span class="entry-date"><time datetime="{{ post.date | date_to_xmlschema }}" itemprop="datePublished">{{ post.date | date: "%B %d, %Y" }}</time></span></a></article></li> <li><article><a href="{{ site.url }}{{ post.url }}">{{ post.title }} <span class="entry-date"><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%B %d, %Y" }}</time></span></a></article></li>
{% endfor %} {% endfor %}
</ul> </ul>