Použití makra pro výpis receptu
This commit is contained in:
@ -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 %}
|
||||
|
Reference in New Issue
Block a user