{# Basic metadata #}
{# Schema #}
{# Title #}
{% if page.isHomePage %}
{{ site.title }}
{% else %}
{{ site.title }} | {{ page.title }}
{% endif %}
{# Description #}
{% if page.meta_description is not empty %}
{% elseif site.homePage.meta_description is not empty %}
{% endif %}
{# Canonical URL #}
{# Author #}
{# Date #}
{# Image #}
{% if page.meta_image is not empty %}
{% elseif site.homePage.meta_image is not empty %}
{% endif %}
{% if page.template != 'error' %}
{# Open Graph #}
{% if page.isHomePage %}
{% else %}
{% endif %}
{% if page.meta_description is not empty %}
{% elseif site.homePage.meta_description is not empty %}
{% endif %}
{% if page.meta_image is not empty %}
{% elseif site.homePage.meta_image is not empty %}
{% endif %}
{# Twitter Card #}
{% if page.isHomePage %}
{% else %}
{% endif %}
{% if page.meta_description is not empty %}
{% elseif site.homePage.meta_description is not empty %}
{% endif %}
{% if page.meta_image is not empty %}
{% elseif site.homePage.meta_image is not empty %}
{% endif %}
{% endif %}