diff --git a/discord_rss_bot/templates/feed.html b/discord_rss_bot/templates/feed.html index 186aeda..05ec466 100644 --- a/discord_rss_bot/templates/feed.html +++ b/discord_rss_bot/templates/feed.html @@ -1,14 +1,16 @@ {% extends "base.html" %} {% block title %} | {{ feed.title }}{% endblock %} {% block content %} - -

{{ feed.title }} +

+ + {{ feed.title }} {% if not feed.updates_enabled %} - disabled {% endif %} -

+ + + - {% if feed.subtitle %} {{ feed.subtitle }} {% endif %} @@ -53,34 +55,21 @@ @ {{ entry.published.strftime('%Y-%m-%d, %T') }} {% endif %} - -

- {# Add a button to get the summary #} - {% if entry.summary %} - Summary - {% endif %} - - {# Add a button to get the content #} - {% if entry.content %} - Content - {% endif %} -

- {% if entry.summary %} -
-
+
+ Summary +
{{ entry.summary | safe }}
-
+ {% endif %} {% if entry.content %} -
-
+
+ Content +
{{ entry.content[0].value | safe }}
-
+ {% endif %} {% endfor %}