add method.html (oops)
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Lynne Megido 2020-03-01 04:18:45 +10:00
parent 1d9ec2668e
commit f29445ec4c
Signed by: lynnesbian
GPG key ID: F0A184B5213D9F90

12
_includes/method.html Normal file
View file

@ -0,0 +1,12 @@
{%- 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 -%}