summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2017-02-09 15:09:03 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2017-02-09 15:09:03 (GMT)
commitc7a24a7330bc18b06bdcb76ab2141d5bbf41372c (patch)
treeefdd92f4d7825babfde0600de79426b526f48f35 /Doc/tools
parent12c5838dae390793009d73ba486b6b2be18cfd43 (diff)
parente1857579f8aefee8e3b671af422a5e728f6f6ce0 (diff)
downloadcpython-c7a24a7330bc18b06bdcb76ab2141d5bbf41372c.zip
cpython-c7a24a7330bc18b06bdcb76ab2141d5bbf41372c.tar.gz
cpython-c7a24a7330bc18b06bdcb76ab2141d5bbf41372c.tar.bz2
Merge issue #26355 fix from 3.6
Diffstat (limited to 'Doc/tools')
-rw-r--r--Doc/tools/templates/layout.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/tools/templates/layout.html b/Doc/tools/templates/layout.html
index 5c180e7..640d8b3 100644
--- a/Doc/tools/templates/layout.html
+++ b/Doc/tools/templates/layout.html
@@ -38,6 +38,7 @@
{% endblock %}
{% block extrahead %}
<link rel="shortcut icon" type="image/png" href="{{ pathto('_static/py.png', 1) }}" />
+ <link rel="canonical" href="https://docs.python.org/3/{{pagename}}.html" />
{% if builder != "htmlhelp" %}
{% if not embedded %}<script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script>{% endif %}
{% if versionswitcher is defined and not embedded %}<script type="text/javascript" src="{{ pathto('_static/version_switch.js', 1) }}"></script>{% endif %}