Skip to content

Commit

Permalink
Fix the releases page
Browse files Browse the repository at this point in the history
  • Loading branch information
jleclanche committed Feb 8, 2015
1 parent 0873c9e commit a55f2dc
Showing 1 changed file with 17 additions and 30 deletions.
47 changes: 17 additions & 30 deletions releases.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,20 @@
title: Releases
slug: releases
---
{% for post in site.posts %}{% if post.promoted %} <article id="article-{{ post.slug }}" class="post">
<header>
<hgroup>
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
</hgroup>
<p class="date"><time datetime="{{ post.date | date: '%F %R' }}">{{ post.date | date: '%R %A, %-d %B, %Y' }}</time></p>
{% if post.author %}<p class="author">{{ post.author }}</p>{% endif %}
</header>
<div class="wrapper">
<main>
{{ post.excerpt }}
</main>
<footer>{% if post.meta %}<p>{{ post.meta }}</p>{% endif %}</footer>
</div>
</article>{% endif %}{% endfor %}
{% for post in site.posts %}{% if post.promoted == null %} <article id="article-{{ post.slug }}" class="post">
<header>
<hgroup>
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
</hgroup>
<p class="date"><time datetime="{{ post.date | date: '%F %R' }}">{{ post.date | date: '%R %A, %-d %B, %Y' }}</time></p>
{% if post.author %}<p class="author">{{ post.author }}</p>{% endif %}
</header>
<div class="wrapper">
<main>
{{ post.excerpt }}
</main>
<footer>{% if post.meta %}<p>{{ post.meta }}</p>{% endif %}</footer>
</div>
</article>{% endif %}{% endfor %}
{% for post in site.posts %}
<article id="article-{{ post.slug }}" class="post">
<header>
<hgroup>
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
</hgroup>
<p class="date"><time datetime="{{ post.date | date: '%F %R' }}">{{ post.date | date: '%R %A, %-d %B, %Y' }}</time></p>
{% if post.author %}<p class="author">{{ post.author }}</p>{% endif %}
</header>
<div class="wrapper">
<main>
{{ post.excerpt }}
</main>
<footer>{% if post.meta %}<p>{{ post.meta }}</p>{% endif %}</footer>
</div>
</article>
{% endfor %}

0 comments on commit a55f2dc

Please sign in to comment.