Skip to content

Commit

Permalink
Merge pull request matplotlib#10440 from dstansby/canonical-link
Browse files Browse the repository at this point in the history
Add canonical link to webpages
  • Loading branch information
timhoffm authored Feb 13, 2018
2 parents b3552b9 + 549c3df commit 86514a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@ <h3>{{ _('Navigation') }}</h3>
}}" />
{%- endif %}
{%- endblock %}
{%- block extrahead %} {% endblock %}
{%- block extrahead %}
<link rel="canonical" href="https://matplotlib.org/{{pagename}}.html" />
{% endblock %}


</head>
Expand Down

0 comments on commit 86514a2

Please sign in to comment.