Move contents of the index.html page to the 'home' layout

This commit is contained in:
Frank Taillandier 2016-09-27 08:24:58 +02:00
parent d79ca534e4
commit 8321b14b29
No known key found for this signature in database
GPG Key ID: E73258E3F50AEB7E
1 changed files with 1 additions and 21 deletions

View File

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