mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-07 12:06:26 +00:00
Fixed issue with entire list HTML being output for each list item
This commit is contained in:
parent
86a2c410fc
commit
0032d2e8c8
2 changed files with 5 additions and 5 deletions
|
@ -5,8 +5,8 @@ title: Articles
|
||||||
description: "An archive of posts sorted by date."
|
description: "An archive of posts sorted by date."
|
||||||
---
|
---
|
||||||
|
|
||||||
{% for post in site.posts %}
|
|
||||||
<ul class="post-list">
|
<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>
|
<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 %}
|
{% 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]
|
tags: [Jekyll, theme, themes, responsive, blog, minimalism]
|
||||||
---
|
---
|
||||||
|
|
||||||
{% for post in site.posts limit:10 %}
|
|
||||||
<ul class="post-list">
|
<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>
|
<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 %}
|
{% endfor %}
|
||||||
|
</ul>
|
Loading…
Reference in a new issue