From 6c22559fb5723a8c60fc16291ee61158d81c3caf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Helle=C5=9Ben?= Date: Tue, 10 Mar 2026 07:51:55 +0100 Subject: [PATCH] Add support for Atom feeds --- templates/base.html | 37 ++++++++++++++++++++ templates/twitch/campaign_detail.html | 14 ++++++++ templates/twitch/campaign_list.html | 12 +++++++ templates/twitch/dashboard.html | 13 +++++++ templates/twitch/docs_rss.html | 22 ++++++++++++ templates/twitch/game_detail.html | 15 ++++++++ templates/twitch/games_grid.html | 12 +++++++ templates/twitch/games_list.html | 12 +++++++ templates/twitch/org_list.html | 2 ++ templates/twitch/organization_detail.html | 14 ++++++++ templates/twitch/reward_campaign_detail.html | 12 +++++++ templates/twitch/reward_campaign_list.html | 12 +++++++ twitch/feeds.py | 31 ++++++++++++++++ twitch/tests/test_feeds.py | 26 ++++++++++++++ twitch/urls.py | 23 ++++++++++++ twitch/views.py | 36 +++++++++++++++++++ 16 files changed, 293 insertions(+) diff --git a/templates/base.html b/templates/base.html index 574a7d0..d3d4e88 100644 --- a/templates/base.html +++ b/templates/base.html @@ -23,6 +23,43 @@ {% endblock title %} {% include "includes/meta_tags.html" %} + + + + + + + + + + + {# Allow child templates to inject page-specific alternates into the head #} + {% block extra_head %} + {% endblock extra_head %}