{% for footer-i in (1..2) %} {% unless page.legacy and footer-i == 1 %} {% endunless %} {% endfor %}