{% macro render_blog_post(post, from_index=false) %} {% if from_index == True %} {% if from_index %} {{ post.title }} {% else %} {{ post.title }} {% endif %} Written by {% if post.twitter_handle %}{{ post.author or post.twitter_handle }}{% else %}{{ post.author }}{% endif %} on {{ post.pub_date }} {% else %} {{ post.title }} Written by {% if post.twitter_handle %}{{ post.author or post.twitter_handle }}{% else %}{{ post.author }}{% endif %} on {{ post.pub_date }} {% endif %} {{ post.subtitle }} {{ post.body }} {% if from_index == False %} {{ post.privatebody }} {% else %} Weiterlesen: {{ post.title }} {% endif %} {% endmacro %}
Written by {% if post.twitter_handle %}{{ post.author or post.twitter_handle }}{% else %}{{ post.author }}{% endif %} on {{ post.pub_date }}