{%- assign col = site.collections | where: "label", page.collection | first -%} {% if col.footer %} {% else %} {% if page.footer %} {% endif %} {% endif %} {%- unless site.published == true -%}

{% if site.warning_icon %}{% include_cached icon.html name="info" %} {% endif %}{% if site.warning_message %}{{site.warning_message}}{% else %}This is an unpublished draft preview that might include content that is not yet approved. The published website is at w3.org/WAI/.{% endif %}

{%- endunless -%}