{% load pages_tags static i18n humanize thumbnail %}
{% get_content page "lead-image" as image %} {% if image %} {% thumbnail image "320x240" crop="center" as img %} {% endthumbnail %} {% else %} {% endif %}

{% show_content page "title" %}

{% show_content page "lead" %}

{% if forloop.first %} {% get_content page "content" as content %}

{{ content | striptags | safe | truncatechars:220 }}

{% endif %}

Published {{ page.creation_date | naturalday }} {% if page.tags.count %} in the categories: {% for tag in page.tags.all %} {{ tag.name }}{% if not forloop.last %},{% endif %} {% endfor %} {% endif %} by {{ page.author.first_name }} {{ page.author.last_name }}