--- layout: core --- {%- include variable-core.liquid -%} {%- capture page-title -%} {%- if page.titleH1 -%} {{ page.titleH1 }} {%- elsif page.title -%} {{ page.title }} {%- else -%} Page untitled {%- endif -%} {%- endcapture -%} {%- if page.secondarymenu -%} {%- comment -%} The pattern with the secondary menu is probably deprecated, but we do have pages published like this on Canada.ca {%- endcomment -%}
{%- else -%}
{%- endif -%} {% include main-page-title/main-page-title.html %} {{ content }} {% include page-details/footer.html %}
{%- if page.secondarymenu -%}
{%- endif -%}