{% for p in posts %}
{{ p.tag|safe }} {% if p.author %} by {{ p.author|safe }} on {% endif %}{{ p.date|date }}
{% if admin %}
|| edit
|| remove
{% endif %}
{% if p.content_img %}
{{ p.content_img|safe }}
{% endif %}
{% if p.show_teaser %}
{{ p.teaser|safe }}
{% else %}
{{ p.content|safe }}
{% endif %}
{% endfor %}