{% set page_title_stripped = page_title|striptags|e('html')|trim %} {% set page_description_stripped = page_description|striptags|e('html')|trim %} {# Default Meta tags #} {{ page_title_stripped }} {% if not page_description is empty %} {% 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 not page.accounts.google_publisher 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 not page_description is empty %}{% endif %} {% if not page.accounts.facebook_author is empty %}{% endif %} {% if not page.accounts.facebook_publisher is empty %}{% endif %} {# og:image #} {% 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 #} {# Google webfonts #} {% if page.style.font.font is not empty and page.style.font.font != 'none' %} {% endif %} {# Custom HEAD #} {{ page.back.custom.head|removeComments|trim }} {# Default fonts #} {# Custom CSS #} {% if page.back.custom.css is not empty %} {% 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|trim('/')|lower|default('index') ~ ' page-' ~ page.permalink|trim('/')|lower|replace({"/":"-"})|default('index'))|cleanData %}
{# Header navigation #} {% include 'partials/nav/header.html' %}