Fix canonical url

This commit is contained in:
2026-02-20 06:31:10 +01:00
parent e9913ebd5c
commit e9dfb3a30e
6 changed files with 18 additions and 6 deletions

View File

@@ -20,7 +20,9 @@
%}
{% set meta_url = meta_url is defined
? meta_url
: app.request.getSchemeAndHttpHost() ~ app.request.getRequestUri()
: app.request.uri|replace({
'http://': 'https://'
})
%}
{% set meta_site_name = meta_site_name is defined
? meta_site_name