diff --git a/discord_rss_bot/templates/blacklist.html b/discord_rss_bot/templates/blacklist.html index 705e118..33ca828 100644 --- a/discord_rss_bot/templates/blacklist.html +++ b/discord_rss_bot/templates/blacklist.html @@ -35,33 +35,25 @@ type="text" class="form-control bg-dark border-dark text-muted" id="blacklist_title" - value="{% if blacklist_title %} - {{- blacklist_title -}} - {% endif %}"/> + value="{%- if blacklist_title -%}{{ blacklist_title }}{%- endif -%}"/> + value="{%- if blacklist_summary -%}{{ blacklist_summary }}{%- endif -%}"/> + value="{%- if blacklist_content -%}{{ blacklist_content }}{%- endif -%}"/> + value="{%- if blacklist_author -%}{{ blacklist_author }}{%- endif -%}"/> diff --git a/discord_rss_bot/templates/whitelist.html b/discord_rss_bot/templates/whitelist.html index 129acb5..9f474dc 100644 --- a/discord_rss_bot/templates/whitelist.html +++ b/discord_rss_bot/templates/whitelist.html @@ -35,33 +35,25 @@ type="text" class="form-control bg-dark border-dark text-muted" id="whitelist_title" - value="{% if whitelist_title %} - {{- whitelist_title -}} - {% endif %}"/> + value="{%- if whitelist_title -%}{{ whitelist_title }} {%- endif -%}"/> + value="{%- if whitelist_summary -%}{{ whitelist_summary }}{%- endif -%}"/> + value="{%- if whitelist_content -%}{{ whitelist_content }}{%- endif -%}"/> + value="{%- if whitelist_author -%} {{ whitelist_author }} {%- endif -%}"/>