8000
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 5d18635 commit ab8aafeCopy full SHA for ab8aafe
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 %}
0 commit comments