mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00

We do not want non-canonical versions of xonsh docs to be indexed. OR at least they should point to the canonical version. Technically we should even try to have the stable version under a /stable/ url (to leave us with some freedom of changing things) So that later we can replace stable with X.y and have a version switcher.
6 lines
152 B
HTML
6 lines
152 B
HTML
{% extends '!layout.html' %}
|
|
|
|
{% block extrahead %}
|
|
{{ super() }}
|
|
<link rel="canonical" href="http://xon.sh/{{pagename}}.html"/>
|
|
{% endblock %}
|