Getting rid of unnecessary posts loop

This commit is contained in:
Jerome Lachaud 2015-02-03 15:08:27 +01:00
parent 73579e8976
commit 2264e1e75e
1 changed files with 1 additions and 18 deletions

View File

@ -1,20 +1,3 @@
--- ---
layout: default layout: default
--- ---
<div class="home">
<h1>Posts</h1>
<ul class="posts">
{% for post in site.posts %}
<li>
<span class="post-date">{{ post.date | date: "%b %-d, %Y" }}</span>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p>
</div>