2020-02-29 18:07:36 +00:00
|
|
|
{%- assign tag = "h2" -%}
|
|
|
|
{%- if page.collection == "subrecipes" -%}
|
|
|
|
{%- assign tag = "h4" -%}
|
|
|
|
{%- endif -%}
|
2020-02-29 18:05:06 +00:00
|
|
|
<{{tag}}>Ingredients</{{tag}}>
|
|
|
|
<ul>
|
2020-02-29 18:07:36 +00:00
|
|
|
{% for item in page.ingredients -%}
|
2020-02-29 19:01:50 +00:00
|
|
|
<li>{{ item[0] }} {% if item[2] %} {{ item[2] }} of {% endif %} {{ item[1] }}</li>
|
2020-02-29 18:07:36 +00:00
|
|
|
{% endfor -%}
|
2020-02-29 18:05:06 +00:00
|
|
|
</ul>
|