{% set pageTitle = title + ' - ' + site.title %} {# We don't want any duplication. This is likely for the home page. #} {% if site.title === title %} {% set pageTitle = title %} {% endif %} {% set siteTitle = site.title %} {% set currentUrl = site.url + page.url %} {% if not socialImage %} {% set socialImage = site.url + '/images/meta/social-share.png' %} {% endif %} {# If the page's Front Matter has specific metaTitle and/or metaDesc items, switch them into the mix. #} {% if metaTitle %} {% set pageTitle = metaTitle %} {% endif %} {% if not metaDesc %} {% set metaDesc = summary %} {% endif %} {{ pageTitle }} {% if socialImage %} {% endif %} {% if metaDesc %} {% endif %} {% if site.theme == "auto" %} {% else %} {% endif %} {# Add facility for pages to delare an array of critical styles #} {% if pageCriticalStyles %} {% for item in pageCriticalStyles %} {% endfor %} {% endif %} {# Add facility for pages to declare an array of stylesheet paths #} {% if pageStylesheets %} {% for item in pageStylesheets %} {% endfor %} {% endif %}