{% macro render_content_date(post) %}
{% if post.publication_date != None %} Created: {{post.publication_date.strftime('%d-%m-%Y')}}     {% endif %} {% if post.date != None %} Posted: {{post.date.strftime('%d-%m-%Y')}} {% endif %}
{{com.title}}
User: {{com.user.username}}     {% if com.timestamp != None %} Posted: {{com.timestamp.strftime('%d-%m-%Y')}} {% endif %}
{{com.body}}
{% endmacro %} {% macro render_content_user_author(post) %}{% if post.author != None %} Author: {{post.author}}     {% endif %} {% if post.user != None %} Posted by: {{post.user.username}}     {% endif %} {% if post.citation != None %} Cite as: {{post.citation}} {% endif %}
Alternative link
{% endif %}{{data[0].summary|safe}}.
{% endif %}{{data[0].summary|safe}}.
{% endif %}{{data[0].text|safe}}.