{% macro render_blog_post(post, from_index=false) %}
{% if from_index -%}

{{ post.title }}

{% else -%}

{{ post.title }}

{% endif -%}

{% if post.event_start_date != post.event_end_date -%} Vom {{ post.event_start_date | dateformat(('d. MMM'), locale=post.alt ) }} bis {{ post.event_end_date | dateformat('long', locale=post.alt) }}. {%- else -%} Am {{ post.event_start_date | dateformat('long', locale=post.alt) }}. {%- endif %}

{% if from_index -%} {{ post.preview }} {% else -%} {{ post.body }} {% endif -%}
{% endmacro %}