Použití makra pro výpis receptu

This commit is contained in:
Emil Miler committed 2021-02-03 22:27:09 +01:00
1 parent 20d0c57c89
commit 4f88150e94
5 files changed
+28 -64

No files matched your search

+4 -1
View File
@@ -9,7 +9,10 @@
<input type="text" id="name" placeholder="Název">
</div>
<section class="list">
list
{% set section = get_section(path="_index.md") %}
{% for page in section.pages %}
{{ macro::print_recipe(recipe=page) }}
{% endfor %}
</section>
</main>
{% endblock content %}