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