Use absolute paths instead of permalink

This makes links also work in deploy previews.
This commit is contained in:
Philipp Oppermann
2018-01-19 14:20:20 +01:00
parent 7a263355f3
commit 25441a8773
5 changed files with 9 additions and 9 deletions

View File

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