From c755e6953a8f3942fe70177eea557f8f1054db10 Mon Sep 17 00:00:00 2001 From: Jacob Coffee Date: Fri, 9 Oct 2026 10:22:25 -0500 Subject: [PATCH] fix(csp): allow EthicalAds JSONP, load EthicalAds only on /psf/sponsors/ EthicalAds requests ad decisions as JSONP - {% endif %} {% stylesheet 'style' %} diff --git a/templates/psf/sponsors-list.html b/templates/psf/sponsors-list.html index a03b78d83..4e8082882 100644 --- a/templates/psf/sponsors-list.html +++ b/templates/psf/sponsors-list.html @@ -4,6 +4,18 @@ {% block page_title %}Python Software Foundation Sponsors | Python Software Foundation{% endblock %} {% block og_title %}Python Software Foundation Sponsors{% endblock %} +{% block head %} +{{ block.super }} +{# EthicalAds renders the sponsor logos below; no other page has ad placements. #} +{% if not request.disable_tracking %} + +{% endif %} +{% endblock head %} + {% block content %}