{% extends "layout.html" %} {% import "macros.html" as macros %} {% block page_title %}Entry: {{ (entry.title or entry.link or entry.id) | trim | striptags }}{% endblock %} {% block main_title %}Entry: {{ (entry.title or entry.link or entry.id) | striptags }}{% endblock %} {% block body %} {% set feed = entry.feed %} {% set content = entry.get_content() %}
{# 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. #} {% if content %}
{% if not content.is_html -%}
{{ content.value }}
{%- else -%} {{ content.value | safe }} {%- endif %}
{% else %}

no content

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