--- a/src/pyams_default_theme/templates/layout.pt Wed Jun 20 18:14:59 2018 +0200
+++ b/src/pyams_default_theme/templates/layout.pt Fri Jun 22 13:00:54 2018 +0200
@@ -15,6 +15,8 @@
<link rel="icon" tal:attributes="href url" type="image/x-icon">
</tal:if>
+ <link rel="canonical" tal:attributes="href extension:canonical_url(context)" />
+
<tal:var replace="extension:resources" />
<!-- Javascript extensions -->
--- a/src/pyams_default_theme/templates/preview-layout.pt Wed Jun 20 18:14:59 2018 +0200
+++ b/src/pyams_default_theme/templates/preview-layout.pt Fri Jun 22 13:00:54 2018 +0200
@@ -15,6 +15,8 @@
<link rel="icon" tal:attributes="href url" type="image/x-icon">
</tal:if>
+ <link rel="canonical" tal:attributes="href extension:canonical_url(context)" />
+
<tal:var replace="extension:resources" />
<!-- Javascript extensions -->