Merge pull request #17 from Japh/master

Fixed issue with entire list HTML being output for each list item
This commit is contained in:
Michael Rose 2013-07-22 06:01:15 -07:00
commit 7881e40679
2 changed files with 5 additions and 5 deletions

View file

@ -5,8 +5,8 @@ title: Articles
description: "An archive of posts sorted by date."
---
{% for post in site.posts %}
<ul class="post-list">
{% 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>
</ul>
{% endfor %}
</ul>

View file

@ -5,8 +5,8 @@ description: "A simple and clean responsive Jekyll theme for words and photos."
tags: [Jekyll, theme, themes, responsive, blog, minimalism]
---
{% for post in site.posts limit:10 %}
<ul class="post-list">
{% 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>
</ul>
{% endfor %}
</ul>