We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6cb8fa commit ea15c55Copy full SHA for ea15c55
Doc/tools/templates/layout.html
@@ -26,11 +26,11 @@
26
{% endblock %}
27
28
{% block extrahead %}
29
- {% if builder == "html" and enable_analytics %}
+ {% if builder == "html" %}
30
+ {% if enable_analytics %}
31
<script defer data-domain="docs.python.org" src="https://analytics.python.org/js/script.outbound-links.js"></script>
- {% endif %}
32
- <link rel="canonical" href="https://docs.python.org/3/{{pagename}}.html">
33
- {% if builder != "htmlhelp" %}
+ {% endif %}
+ <link rel="canonical" href="https://docs.python.org/3/{{pagename}}.html">
34
{% if pagename == 'whatsnew/changelog' and not embedded %}
35
<script type="text/javascript" src="{{ pathto('_static/changelog_search.js', 1) }}"></script>{% endif %}
36
{% endif %}
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life! Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant
0 commit comments