{% set footer_html = footer.render() if footer else '' %} {% if footer_html | trim | length > 0 %} {% endif %}