{{ preTitle }}{{ page.title }}{{ postTitle }}
{% if page.tags or page.categories or page.keywords -%}
{%- assign nothing = "" | split: ", " %}
{%- assign ptags = page.tags | default: nothing %}
{%- assign pcats = page.categories | default: nothing %}
{%- assign pkeys = page.keywords | default: nothing %}
{%- assign keys = ptags | concat: pcats | concat: pkeys | uniq | join: "," %}
{%- assign keys = keys | remove_first: "blog," | remove_first: ",blog" -%}
{%- endif -%}
{% if page.meta-creator or site.author -%}
{%- endif %}
{% if page.meta-subject -%}
{%- endif %}
{% if page.creation-date -%}
{%- endif -%}
{% if page.date -%}
{%- endif -%}
{% if site.copynotice -%}
{%- endif -%}
{%- comment -%}
HTML5BP says:
but the W3C "discourage" this behaviour (https://www.w3.org/2005/10/howto-favicon), so...
{%- endcomment %}
{% if page.isform -%}{%- endif %}
{% if page.excss -%}
{%- for css in page.excss -%}
{% endfor -%}
{%- endif -%}
{% comment -%}
{%- endcomment %}
{%- if layout.pgtype or page.pgtype %}
{% assign pageType = layout.pgtype | default: page.pgtype %}
{%- endif -%}
{%- if layout.mntype or page.mntype %}
{% assign mainType = layout.mntype | default: page.mntype %}
{%- endif -%}
{%- if mainType %}
{%- else %}
{{ page.title }}
{%- endif %}
{{ content }}
{% include nav.html -%}
{% include footer.html -%}
{%- comment -%}
Since it is the element that is scrolling, focus must be
moved from the overall document to the element for the
default spacebar scrolling to work. Obviously, Javascript must be
enabled for this to work since, sadly, there is no HTML/CSS way to
do it. It is a cosmetic level convenience so if it does not
enabled/work it is not fatal.
{%- endcomment %}