Create gutenberg templates

This commit is contained in:
Philipp Oppermann
2017-05-02 08:49:50 +02:00
parent d109912798
commit 168b598901
6 changed files with 158 additions and 0 deletions

View File

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