Skip to content
This repository has been archived by the owner on Sep 18, 2022. It is now read-only.

Commit

Permalink
Revert "Only display post list if there are posts."
Browse files Browse the repository at this point in the history
This reverts commit 87c194e.
  • Loading branch information
razor-x committed Dec 30, 2013
1 parent 87c194e commit 2303971
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@

<h2 class="tagline">{{ site.data.text.tagline }}</h2>

{% if posts.length > 0 %}
<section class="posts">
<h2>{{ site.data.text.post_list_title }}</h2>
<ul class="posts">
{% for post in posts %}
<li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
</section>
{% endif %}
<section class="posts">
<h2>{{ site.data.text.post_list_title }}</h2>
<ul class="posts">
{% for post in posts %}
<li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
</section>

{% include pagination.html %}

0 comments on commit 2303971

Please sign in to comment.