{% extends "layout/layout.twig" %}



    {% block content %}
        <article class="post-type-{{ post.post_type }}" id="post-{{ post.ID }}">

            <div class="wp-block-cover has-left-content headline--black"
                 style="
                 {% if(post.thumbnail.src ) %}
                         background-image:url({{ post.thumbnail.src }});

                 {% else %}
                         background-image:url('https://placehold.it/1920x1080?text={{ post.title}}')
                 {% endif %}

                         ">
            </div>

            <div class="article-body">
                <h2 class="article-h2">{{ post.title }}</h2>

                {{ post.content }}
            </div>

        </article>

    {% endblock %}


