We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 728b9f1 commit e3bedf7Copy full SHA for e3bedf7
docs/_templates/layout.html
@@ -7,6 +7,8 @@
7
8
{% if pagename == 'index' %}
9
<link rel="canonical" href="http://docs.python-guide.org/"/>
10
+ {% elif pagename == '404' %}
11
+ {# No canonical on our 404 template. #}
12
{% else %}
13
<link rel="canonical" href="http://docs.python-guide.org/{{ pagename }}/"/>
14
{% endif %}
0 commit comments