From d1272ff0dd4fbff25f2a7cca682a6b139b676d7e Mon Sep 17 00:00:00 2001 From: Mohaidoss <48034655+mohaidoss@users.noreply.github.com> Date: Sat, 7 Dec 2024 22:38:23 +0100 Subject: [PATCH] default to base_url when $page.canonical is not defined --- templates/_partials/head.tpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/_partials/head.tpl b/templates/_partials/head.tpl index 1b9de0a2..be857f02 100644 --- a/templates/_partials/head.tpl +++ b/templates/_partials/head.tpl @@ -41,6 +41,8 @@ {/if} {if $page.canonical} + {else} + {/if} {block name='head_hreflang'} {foreach from=$urls.alternative_langs item=pageUrl key=code}