diff --git a/discord_rss_bot/templates/custom.html b/discord_rss_bot/templates/custom.html index ef56eed..48cb3bc 100644 --- a/discord_rss_bot/templates/custom.html +++ b/discord_rss_bot/templates/custom.html @@ -1,252 +1,252 @@ -{% extends "base.html" %} -{% block title %} -| Custom message -{% endblock title %} -{% block content %} -
-
- -
-
-
-
    -
  • You can modify the message that is sent to Discord.
  • -
  • You can use \n to create a new line.
  • -
  • - You can remove the embed from links by adding < and> around the link. (For example < - {% raw %} {{entry_link}} {% endraw %}>) -
  • -
    -
  • - - {% raw %} - {{feed_author}} - {% endraw %} - {{ feed.author }} -
  • -
  • - - {% raw %} - {{feed_added}} - {% endraw %} - {{ feed.added }} -
  • -
  • - - {% raw %} - {{feed_last_exception}} - {% endraw %} - {{ feed.last_exception }} -
  • -
  • - - {% raw %} - {{feed_last_updated}} - {% endraw %} - {{ feed.last_updated }} -
  • -
  • - - {% raw %} - {{feed_link}} - {% endraw %} - {{ feed.link }} -
  • -
  • - - {% raw %} - {{feed_subtitle}} - {% endraw %} - {{ feed.subtitle }} -
  • -
  • - - {% raw %} - {{feed_title}} - {% endraw %} - {{ feed.title }} -
  • -
  • - - {% raw %} - {{feed_updated}} - {% endraw %} - {{ feed.updated }} -
  • -
  • - - {% raw %} - {{feed_updates_enabled}} - {% endraw %} - {{ feed.updates_enabled }} -
  • -
  • - - {% raw %} - {{feed_url}} - {% endraw %} - {{ feed.url }} -
  • -
  • - - {% raw %} - {{feed_user_title}} - {% endraw %} - {{ feed.user_title }} -
  • -
  • - - {% raw %} - {{feed_version}} - {% endraw %} - {{ feed.version }} -
  • -
    - {% if entry %} -
  • - - {% raw %} - {{entry_added}} - {% endraw %} - {{ entry.added }} -
  • -
  • - - {% raw %} - {{entry_author}} - {% endraw %} - {{ entry.author }} -
  • - {% if entry.content %} -
  • - - {% raw %} - {{entry_content}} - {% endraw %} - {{ entry.content[0].value|discord_markdown }} -
  • -
  • - - {% raw %} - {{entry_content_raw}} - {% endraw %} - {{ entry.content[0].value }} -
  • - {% endif %} -
  • - - {% raw %} - {{entry_id}} - {% endraw %} - {{ entry.id }} -
  • -
  • - - {% raw %} - {{entry_important}} - {% endraw %} - {{ entry.important }} -
  • -
  • - - {% raw %} - {{entry_link}} - {% endraw %} - {{ entry.link }} -
  • -
  • - - {% raw %} - {{entry_published}} - {% endraw %} - {{ entry.published }} -
  • -
  • - - {% raw %} - {{entry_read}} - {% endraw %} - {{ entry.read }} -
  • -
  • - - {% raw %} - {{entry_read_modified}} - {% endraw %} - {{ entry.read_modified }} -
  • - {% if entry.summary %} -
  • - - {% raw %} - {{entry_summary}} - {% endraw %} - {{ entry.summary|discord_markdown }} -
  • -
  • - - {% raw %} - {{entry_summary_raw}} - {% endraw %} - {{ entry.summary }} -
  • - {% endif %} -
  • - - {% raw %} - {{entry_title}} - {% endraw %} - {{ entry.title }} -
  • -
  • - - {% raw %} - {{entry_text}} - {% endraw %} - Same as entry_content if it exists, otherwise entry_summary -
  • -
  • - - {% raw %} - {{entry_updated}} - {% endraw %} - {{ entry.updated }} -
  • -
    -
  • - - {% raw %} - {{image_1}} - {% endraw %} - First image in the entry if it exists -
  • -
-
    -
  • Examples:
  • -
  • - - {% raw %} - {{feed_title}}\n{{entry_content}} - {% endraw %} - -
  • -
- {% else %} - Something went wrong, there was no entry found. If this feed has entries and you still see this - message, please contact the developer. - {% endif %} -
- - -
-
- - - -
- -
-
-
-{% endblock content %} +{% extends "base.html" %} +{% block title %} +| Custom message +{% endblock title %} +{% block content %} +
+
+ +
+
+
+
    +
  • You can modify the message that is sent to Discord.
  • +
  • You can use \n to create a new line.
  • +
  • + You can remove the embed from links by adding < and> around the link. (For example < + {% raw %} {{entry_link}} {% endraw %}>) +
  • +
    +
  • + + {% raw %} + {{feed_author}} + {% endraw %} + {{ feed.author }} +
  • +
  • + + {% raw %} + {{feed_added}} + {% endraw %} + {{ feed.added }} +
  • +
  • + + {% raw %} + {{feed_last_exception}} + {% endraw %} + {{ feed.last_exception }} +
  • +
  • + + {% raw %} + {{feed_last_updated}} + {% endraw %} + {{ feed.last_updated }} +
  • +
  • + + {% raw %} + {{feed_link}} + {% endraw %} + {{ feed.link }} +
  • +
  • + + {% raw %} + {{feed_subtitle}} + {% endraw %} + {{ feed.subtitle }} +
  • +
  • + + {% raw %} + {{feed_title}} + {% endraw %} + {{ feed.title }} +
  • +
  • + + {% raw %} + {{feed_updated}} + {% endraw %} + {{ feed.updated }} +
  • +
  • + + {% raw %} + {{feed_updates_enabled}} + {% endraw %} + {{ feed.updates_enabled }} +
  • +
  • + + {% raw %} + {{feed_url}} + {% endraw %} + {{ feed.url }} +
  • +
  • + + {% raw %} + {{feed_user_title}} + {% endraw %} + {{ feed.user_title }} +
  • +
  • + + {% raw %} + {{feed_version}} + {% endraw %} + {{ feed.version }} +
  • +
    + {% if entry %} +
  • + + {% raw %} + {{entry_added}} + {% endraw %} + {{ entry.added }} +
  • +
  • + + {% raw %} + {{entry_author}} + {% endraw %} + {{ entry.author }} +
  • + {% if entry.content %} +
  • + + {% raw %} + {{entry_content}} + {% endraw %} + {{ entry.content[0].value|discord_markdown }} +
  • +
  • + + {% raw %} + {{entry_content_raw}} + {% endraw %} + {{ entry.content[0].value }} +
  • + {% endif %} +
  • + + {% raw %} + {{entry_id}} + {% endraw %} + {{ entry.id }} +
  • +
  • + + {% raw %} + {{entry_important}} + {% endraw %} + {{ entry.important }} +
  • +
  • + + {% raw %} + {{entry_link}} + {% endraw %} + {{ entry.link }} +
  • +
  • + + {% raw %} + {{entry_published}} + {% endraw %} + {{ entry.published }} +
  • +
  • + + {% raw %} + {{entry_read}} + {% endraw %} + {{ entry.read }} +
  • +
  • + + {% raw %} + {{entry_read_modified}} + {% endraw %} + {{ entry.read_modified }} +
  • + {% if entry.summary %} +
  • + + {% raw %} + {{entry_summary}} + {% endraw %} + {{ entry.summary|discord_markdown }} +
  • +
  • + + {% raw %} + {{entry_summary_raw}} + {% endraw %} + {{ entry.summary }} +
  • + {% endif %} +
  • + + {% raw %} + {{entry_title}} + {% endraw %} + {{ entry.title }} +
  • +
  • + + {% raw %} + {{entry_text}} + {% endraw %} + Same as entry_content if it exists, otherwise entry_summary +
  • +
  • + + {% raw %} + {{entry_updated}} + {% endraw %} + {{ entry.updated }} +
  • +
    +
  • + + {% raw %} + {{image_1}} + {% endraw %} + First image in the entry if it exists +
  • +
+
    +
  • Examples:
  • +
  • + + {% raw %} + {{feed_title}}\n{{entry_content}} + {% endraw %} + +
  • +
+ {% else %} + Something went wrong, there was no entry found. If this feed has entries and you still see this + message, please contact the developer. + {% endif %} +
+ + +
+
+ + + +
+ +
+
+
+{% endblock content %}