From b4247430556f966d4fbdc52298a400eed83fdf94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Sun, 4 Dec 2022 10:58:16 +0100 Subject: [PATCH] alias: make redirect page language independend #398 because for aliased translation pages Hugo still sets the default language --- layouts/alias.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/alias.html b/layouts/alias.html index 1e645a76e0..61210feb92 100644 --- a/layouts/alias.html +++ b/layouts/alias.html @@ -1,5 +1,5 @@ - + {{- $url := replace (replace .Permalink site.BaseURL "/") "//" "/" }} {{- $url = partial "relLangPrettyUglyURL.hugo" (dict "link" $url) }}