mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-21 17:47:10 +00:00
Merge pull request #17 from Japh/master
Fixed issue with entire list HTML being output for each list item
This commit is contained in:
commit
7881e40679
2 changed files with 5 additions and 5 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
Loading…
Reference in a new issue