{%- if page.method | size != 0 %} {%- assign tag = "h2" -%} {%- if page.collection == "subrecipes" -%} {%- assign tag = "h4" -%} {%- endif -%} <{{tag}}>Method {%- assign prefix = page.id | downcase | split: "/" | last | url_encode | prepend: "cb-" -%}
    {% assign i = 1 -%} {%- for item in page.method -%}
  1. {% assign i = i | plus: 1 -%} {%- endfor %}
{%- endif -%}