{%- if page.method | size != 0 %} {%- assign tag = "h2" -%} {%- if page.collection == "subrecipes" -%} {%- assign tag = "h4" -%} {%- endif -%} <{{tag}}>Method{{tag}}> {%- assign name = page.name | downcase | url_encode -%}