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 c492ac7 commit b29cacbCopy full SHA for b29cacb
Doc/tools/templates/layout.html
@@ -29,7 +29,7 @@
29
{% if builder == "html" and enable_analytics %}
30
<script defer data-domain="docs.python.org" src="https://analytics.python.org/js/script.outbound-links.js"></script>
31
{% endif %}
32
- <link rel="canonical" href="https://docs.python.org/3/{{pagename}}.html">
+ {% if builder == "html" %}<link rel="canonical" href="https://docs.python.org/3/{{pagename}}.html">{% endif %}
33
{% if builder != "htmlhelp" %}
34
{% if pagename == 'whatsnew/changelog' and not embedded %}
35
<script type="text/javascript" src="{{ pathto('_static/changelog_search.js', 1) }}"></script>{% endif %}
0 commit comments