{% put meta %}
    {% default %}
    {% if post.powerseo_redirect_url %}
        <meta http-equiv="refresh" content="0; url={{post.powerseo_redirect_url}}" />
    {% endif %}

    {% if post.powerseo_title %}
        <title>{{ post.powerseo_title | generateTitle}}</title>
    {% else %}
        <title>{{ post.title | generateTitle }}</title>
    {% endif %}

    {% if post.powerseo_description %}
        <meta name="description" content="{{post.powerseo_description}}">
    {% endif %}

    
    <meta name="keywords" content="{{this.page.seo_keywords}}, {{this.page.tags}}{% if post.powerseo_keywords %}, {{post.powerseo_keywords}}{% endif %}">

    {% if post.powerseo_canonical_url %}
        <link rel="canonical" href="{{post.powerseo_canonical_url}}" />
    {% else %}
        {{ '' | generateCanonicalUrl}}
    {% endif %}

    <meta name="robots" content="{{post.powerseo_robot_index}},{{post.powerseo_robot_follow}}">

    {{ ''|otherMetaTags|raw }}

    {{ post|generateOgTags }}
{% if post.featured_image %}
    <meta property="og:image" content="{{post.featured_image|media_cdn}}">
{% endif %}
<meta property="og:type" content="article">
<meta property="article:published_time" content="{{post.published_at|date('Y-m-d')}}">
<meta property="article:modified_time" content="{{post.updated_at|date('Y-m-d')}}">
<meta property="article:author" content="{{post.author}}">
<meta property="article:section" content="{{post.categories.first.name}}">
{% for tag in post.tags %}
<meta property="article:tag" content="{{tag.name}}">
{% endfor %}
{% endput %}
