diff --git a/core/templates/index.html b/core/templates/index.html index be75ffb..ee30bcc 100644 --- a/core/templates/index.html +++ b/core/templates/index.html @@ -10,6 +10,7 @@
{% include "partials/toc.html" %}
{% include "partials/info_box.html" %} + {% include "partials/news.html" %} {% for game in games %} {% include "partials/game_card.html" %} {% endfor %} diff --git a/core/templates/partials/info_box.html b/core/templates/partials/info_box.html index ab8a8ec..17e2754 100644 --- a/core/templates/partials/info_box.html +++ b/core/templates/partials/info_box.html @@ -5,48 +5,12 @@

Information

- This site allows users to subscribe to Twitch drops. You can either get notified when the website finds a new drop on the Twitch site or get notified when the drops begin to be farmable. + This site allows users to subscribe to Twitch drops notifications. You can choose to be alerted when new drops are found on Twitch or when the drops become available for farming.

You can add a Discord Webhook here.

-
-

Webhooks

- {% for webhook in webhooks %} -
- {{ webhook.name }} - {{ webhook.name }} -
- - -
-
- - -
-
-
- - -
-
- - -
-
- {% endfor %} -
diff --git a/core/templates/partials/news.html b/core/templates/partials/news.html new file mode 100644 index 0000000..e56f35f --- /dev/null +++ b/core/templates/partials/news.html @@ -0,0 +1,44 @@ +
+
+
+
+

Site news

+
+ {% for webhook in webhooks %} +
+ {{ webhook.name }} + {{ webhook.name }} +
+ + +
+
+ + +
+
+
+ + +
+
+ + +
+
+ {% endfor %} +
+
+
+
+
diff --git a/core/templates/partials/toc.html b/core/templates/partials/toc.html index 9149807..02b7aff 100644 --- a/core/templates/partials/toc.html +++ b/core/templates/partials/toc.html @@ -4,6 +4,8 @@
Information + Site news {% for game in games %} {{ game.display_name }}