This commit is contained in:
parent
1d9ec2668e
commit
f29445ec4c
1 changed files with 12 additions and 0 deletions
12
_includes/method.html
Normal file
12
_includes/method.html
Normal 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 -%}
|
Loading…
Reference in a new issue