mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Use absolute paths instead of permalink
This makes links also work in deploy previews.
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user