Použití makra pro výpis receptu

This commit is contained in:
Emil Miler
2021-02-02 22:01:42 +01:00
parent 20d0c57c89
commit 4f88150e94
5 changed files with 28 additions and 64 deletions

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 %}