recipe-site/_includes/method.html
Lynne f29445ec4c
Some checks failed
continuous-integration/drone/push Build is failing
add method.html (oops)
2020-03-01 04:18:45 +10:00

12 lines
273 B
HTML

{%- 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 -%}
</ol>
{%- endif -%}