mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 14:50:19 +00:00
Make HTTPS the default & update canonical
This commit is contained in:
Vendored
+2
-2
@@ -6,11 +6,11 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
|
||||
|
||||
{% if pagename == 'index' %}
|
||||
<link rel="canonical" href="http://docs.python-guide.org/"/>
|
||||
<link rel="canonical" href="https://docs.python-guide.org/"/>
|
||||
{% elif pagename == '404' %}
|
||||
{# No canonical on our 404 template. #}
|
||||
{% else %}
|
||||
<link rel="canonical" href="http://docs.python-guide.org/{{ pagename }}/"/>
|
||||
<link rel="canonical" href="https://docs.python-guide.org/{{ pagename }}/"/>
|
||||
{% endif %}
|
||||
|
||||
<link rel="icon" type="image/png" href="https://media.readthedocs.org/images/favicon.png">
|
||||
|
||||
Vendored
+2
-2
@@ -50,7 +50,7 @@
|
||||
This guide is the result of the collaboration of
|
||||
<a href="https://github.com/kennethreitz/python-guide/graphs/contributors">hundreds of people</a>
|
||||
around the world, and your contributions
|
||||
<a href="http://docs.python-guide.org/en/latest/notes/contribute/">are welcome</a>!
|
||||
<a href="https://docs.python-guide.org/en/latest/notes/contribute/">are welcome</a>!
|
||||
</p>
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
|
||||
<h3>Translations</h3>
|
||||
<ul>
|
||||
<li><a href="http://docs.python-guide.org/en/latest/">English</a></li>
|
||||
<li><a href="https://docs.python-guide.org/en/latest/">English</a></li>
|
||||
<li><a href="https://python-guide-fr.readthedocs.io/fr/latest/">French</a></li>
|
||||
<li><a href="https://pythonguidecn.readthedocs.io/zh/latest/">Chinese</a></li>
|
||||
<li><a href="http://python-guideja.readthedocs.io/ja/latest/">Japanese</a></li>
|
||||
|
||||
Vendored
+1
-1
@@ -48,7 +48,7 @@
|
||||
|
||||
<h3>Translations</h3>
|
||||
<ul>
|
||||
<li><a href="http://docs.python-guide.org/en/latest/">English</a></li>
|
||||
<li><a href="https://docs.python-guide.org/en/latest/">English</a></li>
|
||||
<li><a href="https://python-guide-fr.readthedocs.io/fr/latest/">French</a></li>
|
||||
<li><a href="https://pythonguidecn.readthedocs.io/zh/latest/">Chinese</a></li>
|
||||
<li><a href="http://python-guideja.readthedocs.io/ja/latest/">Japanese</a></li>
|
||||
|
||||
Reference in New Issue
Block a user