<a href="{{ post.url }}">
    <div class="news-hero padding-bottom-1" style="background-image:url('{{ post.imageurl }}')">
        <div class="news-hero-text">
            <h1>{{ post.title | safe }}</h1>
            <h2>{{ post.subtitle|default_if_none:"&nbsp;" }}</h2>
            
            {% if post.post_type != 'N' %}
                <p>{{ post.event_start|date:"d. F Y" }}</p>
            {% else %}
                <p>{{ post.public_date|date:"d. F Y" }}</p>
            {% endif %}
        </div>
    </div>
</a>
