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 54921b1 commit e1a9650Copy full SHA for e1a9650
docs/_templates/layout.html
@@ -5,7 +5,12 @@
5
6
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
7
8
+ {% if pagename == 'index' %}
9
+ <link rel="canonical" href="http://docs.python-guide.org/"/>
10
+ {% else %}
11
<link rel="canonical" href="http://docs.python-guide.org/{{ pagename }}/"/>
12
+ {% endif %}
13
+
14
<link rel="icon" type="image/png" href="https://media.readthedocs.org/images/favicon.png">
15
16
<meta name="google-site-verification" content="013PxE2_8KX9jdUSC5gr8QsfdxTXr1mFgmD9zplp5II" />
0 commit comments