mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Fixes links in subfolders. See https://github.com/Keats/gutenberg/issues/128 for a detailed description of the problems with `page.path`.
7 lines
211 B
HTML
7 lines
211 B
HTML
{% macro post_link(page) %}
|
|
<article>
|
|
<h2 class="post-title"><a href="{{ page.permalink | safe }}">{{ page.title }}</a></h2>
|
|
{{ page.summary | safe }}
|
|
</article>
|
|
{% endmacro post_link %}
|