Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
{% endblock %}
{% block extrahead %}
- <script defer data-domain="docs.python.org" src="https://plausible.io/js/script.js"></script>
+ {% if builder == "html" %}
+ <script defer data-domain="docs.python.org" src="https://plausible.io/js/script.js"></script>
+ {% endif %}
<link rel="canonical" href="https://docs.python.org/3/{{pagename}}.html" />
{% if builder != "htmlhelp" %}
{% if pagename == 'whatsnew/changelog' and not embedded %}