website/_layouts/home.html

26 lines
516 B
HTML
Raw Normal View History

2017-02-05 18:19:49 +00:00
---
layout: default
---
<div class="home">
<h1 class="page-heading">Posts</h1>
{{ content }}
2017-02-05 18:19:49 +00:00
<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 | relative_url }}">{{ post.title | escape }}</a>
2017-02-05 18:19:49 +00:00
</h2>
</li>
{% endfor %}
</ul>
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
2017-02-05 18:19:49 +00:00
</div>