Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2f32dfa

Browse files
timhoffmMeeseeksDev[bot]
authored andcommitted
Backport PR #10440: Add canonical link to webpages
1 parent bbed268 commit 2f32dfa

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

doc/_templates/layout.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,9 @@ <h3>{{ _('Navigation') }}</h3>
153153
}}" />
154154
{%- endif %}
155155
{%- endblock %}
156-
{%- block extrahead %} {% endblock %}
156+
{%- block extrahead %}
157+
<link rel="canonical" href="https://matplotlib.org/{{pagename}}.html" />
158+
{% endblock %}
157159

158160

159161
</head>

0 commit comments

Comments
 (0)