recipe-site/_includes/method.html

13 lines
272 B
HTML
Raw Normal View History

2020-02-29 18:18:45 +00:00
{%- if page.method | size != 0 %}
{%- assign tag = "h2" -%}
{%- if page.collection == "subrecipes" -%}
{%- assign tag = "h4" -%}
{%- endif -%}
<{{tag}}>Method</{{tag}}>
<ol>
{% for item in page.method -%}
<li>{{ item }}</li>
{% endfor %}
2020-02-29 18:18:45 +00:00
</ol>
{%- endif -%}