Add "read more" links on frontpage

This commit is contained in:
Philipp Oppermann
2018-02-27 15:33:52 +01:00
parent fe472d3412
commit 21f409625b
2 changed files with 16 additions and 1 deletions

View File

@@ -1,6 +1,9 @@
{% macro post_link(page) %}
<article>
<h2 class="post-title"><a href="/{{ page.path | safe }}">{{ page.title }}</a></h2>
{{ page.summary | safe }}
<div class="post-summary">
{{ page.summary | safe}}
<a class="read-more" href="/{{ page.path | safe }}">read more…</a>
</div>
</article>
{% endmacro post_link %}