Merge pull request #4764 from tk0miya/4744_add_canonical_url

Fix #4744: Add canonical URL to docs
This commit is contained in:
Takeshi KOMIYA 2018-03-21 14:45:15 +09:00 committed by GitHub
commit 451168d292
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,11 @@
{% block sidebar1 %}{{ sidebar() }}{% endblock %} {% block sidebar1 %}{{ sidebar() }}{% endblock %}
{% block sidebar2 %}{% endblock %} {% block sidebar2 %}{% endblock %}
{% block linktags %}
{{ super() }}
<link rel="canonical" href="http://www.sphinx-doc.org/en/master/{{ pagename }}{{ file_suffix }}" />
{% endblock %}
{% block extrahead %} {% block extrahead %}
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300,400,700' <link href='https://fonts.googleapis.com/css?family=Open+Sans:300,400,700'
rel='stylesheet' type='text/css' /> rel='stylesheet' type='text/css' />