website/_layouts/home.html

27 lines
557 B
HTML

---
layout: default
---
<div class="home">
<h1 class="page-heading">Hejsa!</h1>
{{ content }}
<h1 class="page-heading">Nyheder</h2>
<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>
</h2>
</li>
{% endfor %}
</ul>
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
</div>