diff --git a/_includes/method.html b/_includes/method.html new file mode 100644 index 0000000..4fadc58 --- /dev/null +++ b/_includes/method.html @@ -0,0 +1,12 @@ +{%- if page.method | size != 0 %} + {%- assign tag = "h2" -%} + {%- if page.collection == "subrecipes" -%} + {%- assign tag = "h4" -%} + {%- endif -%} + <{{tag}}>Method +
    + {% for item in page.method -%} +
  1. {{ item }}
  2. + {% endfor -%} +
+{%- endif -%}