{% 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 %}
{# 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 %}
{# Icon #}
{# 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 #}
{# Set here instead of in skin css to avoid problems with styler #}
{# Custom CSS #}
{% if page.back.custom.css is not empty %}
{% endif %}
{# Custom logo css #}
{% if page.back.custom.logo_css is not empty %}
{% 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('/')|default('index') ~ ' page-' ~ page.permalink|trim('/')|replace({"/":"-"})|default('index'))|cleanData %}
{# Header navigation #}
{% include 'partials/nav/header.html' %}