{% 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 %}