{% set meta_page_title = page.seo.title|default(page_title)|striptags|e('html')|trim %} {% set meta_page_description = page.seo.description|default(page_description)|striptags|e('html')|trim %} {# Global site tag (gtag.js) - Google Analytics #} {% if page.accounts.google_analytics %} {% endif %} {# Default Meta tags #} {{ meta_page_title }} {% if meta_page_description %}{% endif %} {% if page.seo.keywords %}{% endif %} {% if page.seo.robots %}{% endif %} {# Prefetch #} {% if page.settings.cdn_core %}{% endif %} {% if page.settings.cdn_files %}{% endif %} {# Google Authorship, Publisher and site-verification #} {% if not page.accounts.google_author is empty %}{% endif %} {% if page.accounts.google_site_verification is not empty %}{% endif %} {# Twitter Card data #} {% if not page.accounts.twitter_username is empty %}{% endif %} {# Open Graph data #} {% if meta_page_description %}{% endif %} {% if not page.accounts.facebook_author is empty %}{% endif %} {% if not page.accounts.facebook_publisher is empty %}{% endif %} {# og:image #} {# og image properties #} {% set imgInfo = getimginfo(preview_image) %} {% if imgInfo['mime'] %}{% endif %} {% if imgInfo[0] %}{% endif %} {% if imgInfo[1] %}{% endif %} {# Fav Icon #} {% set favicon = firstImage('./content/custom/favicon') %} {% if favicon %} {% endif %} {# Atom Feed link #} {% if page.settings.feed %} {% endif %} {# Add fallback for Skin CSS CDN fail #} {% if page.settings.cdn_core %} {% endif %} {# Skin #} {# interface language / must load after stylesheet to override #} {#{% if page.settings.lang != 'en' %} {% endif %}#} {# Google webfonts #} {% if page.style.font.font is not empty and page.style.font.font != 'none' %} {# https://fonts.googleapis.com #} {% endif %} {# Custom HEAD #} {{ page.back.custom.head|removeComments|trim }} {# Default fonts #} {# Custom CSS #} {% if page.back.custom.css is not empty %} {% endif %} {# custom page css #} {% if page.page_css %} {% endif %} {# Custom logo css #} {% if page.back.custom.logo_css is not empty %} {% endif %} {# Custom CSS files from /content/custom/css #} {% set custom_css_files = x3_glob('./content/custom/files/css/*include*.css', '') %} {% if custom_css_files %}{{ custom_css_files }}{% endif %} {# Style elements for custom colors and x3 app #} {% set layout = page.style.layout.layout|default('topbar-float') %} {% if 'topbar' in layout %}{% set fixed = page.style.layout.fixed %}{% endif %} {% if page.style.layout.wide %}{% set wide = 'wide' %}{% endif %} {% set data_layout = (page.include.body ~ ' ' ~ page.body ~ ' ' ~ layout ~ ' ' ~ page.style.skin.skin ~ ' ' ~ fixed ~ ' ' ~ wide ~ ' ' ~ page.style.skin.clear ~ ' x3-' ~ page.template_name ~ ' slug-' ~ page.slug|attribute_friendly|default('index') ~ ' page-' ~ page.permalink|trim('/')|attribute_friendly|default('index'))|cleanData %} {# body #}
{# Header navigation #} {% include 'partials/nav/header.html' %}