{% extends "layout.html" %} {% import "macros.html" as macros %} {% block page_title %}Entry: {{ entry.title or entry.link or entry.id }}{% endblock %} {% block main_title %}Entry: {{ entry.title or entry.link or entry.id }}{% endblock %} {% block body %} {% set feed = entry.feed %}
{# TODO: Also show summary. #} {# TODO: This allows iframes to show; is it safe? #} {# TODO: This should be styled somehow. #} {# TODO: h1 inside article is as big as the h1 in the header. #} {# TODO: Tables look wonky if they're too wide; hard to fix without cooperation from the html. #} {% set content = macros.entry_content(entry) | trim %} {% if not content and entry.summary %} {% set content = entry.summary %} {% endif %} {% if content %}
{{ content | safe }}
{% else %}

no content

{% endif %} {{ macros.entry_enclosures(entry) }}
{% endblock %}