Skip to content

Commit 5a2989c

Browse files
committed
fix: Canonical URL needs : and / unescaped
1 parent caa1206 commit 5a2989c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djangocms_frontend/templates/djangocms_frontend.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<meta property="og:description" content="{% page_attribute meta_description %}"/>
1313
{% endblock meta %}
1414
{% block canonical_url %}
15-
<link rel="canonical" href="{{ request.build_absolute_uri|urlencode:"&?" }}"/>
15+
<link rel="canonical" href="{{ request.build_absolute_uri|urlencode:":/&?" }}"/>
1616
<meta property="og:url" content="{{ request.build_absolute_uri|urlencode:"&?" }}"/>
1717
{% endblock canonical_url %}
1818
{% block fb_meta %}{% endblock fb_meta %}

0 commit comments

Comments
 (0)