Permalink
Browse files

Restore homepage

Lists posts in “home” layout (~taken from minima)
  • Loading branch information...
regisd committed Nov 26, 2017
1 parent a51e3a5 commit 4d18fe80526db5320403633d8aba6c14a1ed669c
Showing with 25 additions and 0 deletions.
  1. +22 −0 _layouts/home.html
  2. +3 −0 index.md
View
@@ -0,0 +1,22 @@
---
layout: default
---
<div class="home">
{{ content }}
{% for post in site.posts %}
<h1>
<a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
</h1>
{% assign date_format = site.minima.date_format | default: "%d %b %Y" %}
<p><span class="post-meta">{{ post.date | date: date_format }}</span></p>
<p>{{ post.excerpt }}</p>
</li>
{% endfor %}
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
</div>
View
@@ -0,0 +1,3 @@
---
layout: home
---

0 comments on commit 4d18fe8

Please sign in to comment.