Skip to content

Commit b424743

Browse files
committed
alias: make redirect page language independend matcornic#398
because for aliased translation pages Hugo still sets the default language
1 parent c7ba019 commit b424743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/alias.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html lang="{{ site.LanguageCode | default site.Language.Lang | default "en" }}" dir="{{ T "Reading-direction" | default "ltr" }}">
2+
<html>
33
<head>
44
{{- $url := replace (replace .Permalink site.BaseURL "/") "//" "/" }}
55
{{- $url = partial "relLangPrettyUglyURL.hugo" (dict "link" $url) }}

0 commit comments

Comments
 (0)