[IMP] config: add canonical url

Inspired by odoo/odoo@958f9106dd (which was lost by the way)
This commit is contained in:
Martin Trigaux
2019-12-10 18:30:46 +01:00
parent b1dabedf81
commit 3a45ba958f
2 changed files with 13 additions and 0 deletions
+1
View File
@@ -22,6 +22,7 @@
{% for code, url in language_codes %}
<link rel="alternate" hreflang="{{ code }}" href="{{ url }}" />
{%- endfor %}
<link rel="canonical" href="{{ canonical }}" />
{{ super() }}
{%- endblock -%}