xonsh/docs/_templates_overwrite/layout.html
Matthias Bussonnier c0d584d7a3 Hack a rel=canonical in the templates.
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.
2016-10-30 12:27:40 -07:00

6 lines
152 B
HTML

{% extends '!layout.html' %}
{% block extrahead %}
{{ super() }}
<link rel="canonical" href="http://xon.sh/{{pagename}}.html"/>
{% endblock %}