{% import theme('_menu.html') as menu with context -%} {% extends theme("base.html") %} {% block content %}
{% for content in contents %}

{{ content.title }}

{% if content.summary %}

{{ content.summary|truncate(255)|safe() }}

{% endif %} {% if content.embed_code %} {{ content.embed_code|safe() }} {% endif %} {% if content.image_url %}

{% endif %}

{{ content.created_at.strftime('%H:%M %Y-%m-%d') }} | {% with total=content.comments|length %} {{ total }} comment {%- if total > 1 %}s{%- endif -%} {% endwith %}

{% endfor %}

Channels

{{ menu.build_nodes(nodes=channels) }}
{% endblock %}