diff --git a/pydotorg/settings/base.py b/pydotorg/settings/base.py index 558dfe469..efa8b2cce 100644 --- a/pydotorg/settings/base.py +++ b/pydotorg/settings/base.py @@ -322,6 +322,8 @@ NONCE, "https://analytics.python.org", "https://media.ethicalads.io", + # EthicalAds fetches 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 %}