{%- assign col = site.collections | where: "label", page.collection | first -%} {%- if page.changelog -%} {%- assign changelogpage=site.documents | where:"ref", page.changelog | first -%} {%- unless changelogpage.ref -%} {%- assign changelogpage=site.pages | where:"ref", page.changelog | first -%} {%- endunless -%} {% assign changelogpageurl = changelogpage.url | relative_url %} {%- capture changelogtext -%} {%- include_cached t.html t="Changelog" lang=page.lang -%} {%- endcapture -%} {%- assign changelog = '' | append: changelogtext | append: '' -%} {%- else -%} {%- assign changelog = "" -%} {%- endif -%} {% 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 -%}