{% extends "base.html" %} {% block title %}Feed{% endblock %} {% block content %}

{{ feed.title }}

{% if feed.url %} Subtitle: {{ feed.subtitle }}
{% endif %} {% if feed.url %} {{ feed.url }}
{% endif %} {% if feed.updated %} Updated: {{ feed.updated.strftime('%Y-%m-%d, %T') }}
{% endif %} {% if feed.version %} Version: {{ feed.version }}
{% endif %} {% if feed.user_title %} User title: {{ feed.user_title }}
{% endif %} {% if feed.added %} Added on: {{ feed.added.strftime('%Y-%m-%d, %T') }}
{% endif %} {% if feed.last_update %} Last update: {{ feed.last_update }}
{% endif %} {% if feed.last_exception %} Last exception: {{ feed.last_exception }}
{% endif %} {% if not feed.updates_enabled %} Updates disabled!
{% endif %}
{% for entry in entries %} {# Only add
if the entry is not the first one #} {% if loop.index > 1 %}
{% endif %}

{{ entry.title }}

By {{ entry.author }}

{% if entry.published %} {# Published: 2022-12-07, 08:10:22 #} Published: {{ entry.published.strftime('%Y-%m-%d, %T') }}
{% endif %} {% if entry.updated %} {# Updated: 2022-12-07, 08:10:22 #} Updated: {{ entry.updated.strftime('%Y-%m-%d, %T') }}
{% endif %} {# Add a button to get the summary #}

{% if entry.summary %} Summary {% endif %} {% if entry.content %} Content {% endif %}

{% if entry.summary %} {# This is hidden by default, it is only visible if we click the button from above #}
{{ entry.summary | safe }}
{% endif %} {% if entry.content %} {# This is hidden by default, it is only visible if we click the button from above #}
{{ entry.content[0].value | safe }}
{% endif %} {# Read modified: 2022-12-07, 08:25:25 #} {% if entry.read_modified %} Read modified: {{ entry.read_modified.strftime('%Y-%m-%d, %T') }} {% endif %} {% endfor %}
{% endblock %}