diff --git a/discord_rss_bot/templates/add.html b/discord_rss_bot/templates/add.html index 1531fc9..d01665c 100644 --- a/discord_rss_bot/templates/add.html +++ b/discord_rss_bot/templates/add.html @@ -28,7 +28,7 @@ {% for hook in webhooks %} {% endfor %} diff --git a/discord_rss_bot/templates/blacklist.html b/discord_rss_bot/templates/blacklist.html index 349fc44..4e4893e 100644 --- a/discord_rss_bot/templates/blacklist.html +++ b/discord_rss_bot/templates/blacklist.html @@ -36,7 +36,7 @@ class="form-control bg-dark border-dark text-muted" id="blacklist_title" value="{% if blacklist_title %} - {{ blacklist_title }} + {{- blacklist_title -}} {% endif %}"/> diff --git a/discord_rss_bot/templates/custom.html b/discord_rss_bot/templates/custom.html index 91926b0..f5c7517 100644 --- a/discord_rss_bot/templates/custom.html +++ b/discord_rss_bot/templates/custom.html @@ -210,7 +210,7 @@
{% raw %}
- Hello {{ entry_author }}\n{{ feed_title }}\n{{ entry_read -}}
+ Hello {{ entry_author }}\n{{ feed_title }}\n{{ entry_read }}
{% endraw %}
Hello {{ entry.author }} {{ feed.title }} -{{ entry.read -}} +{{ entry.read }}@@ -235,8 +235,9 @@ Hello {{ entry.author }} type="text" class="form-control bg-dark border-dark text-muted" id="custom_message" - value="{% if custom_message -%} - {{ custom_message }}{%- endif %}"/> + value="{% if custom_message %} + {{- custom_message -}} + {% endif %}"/> diff --git a/discord_rss_bot/templates/index.html b/discord_rss_bot/templates/index.html index a746d9a..25faccb 100644 --- a/discord_rss_bot/templates/index.html +++ b/discord_rss_bot/templates/index.html @@ -22,7 +22,7 @@ {% else %} - {% endif %} - {{ feed_count.updates_enabled }} enabled + {{- feed_count.updates_enabled -}} enabled - {{ entry_count.total }} entries diff --git a/discord_rss_bot/templates/search.html b/discord_rss_bot/templates/search.html index 0694a55..cc04cae 100644 --- a/discord_rss_bot/templates/search.html +++ b/discord_rss_bot/templates/search.html @@ -4,7 +4,7 @@ {% endblock title %} {% block content %}