From 92ee7adbb8717c2788b047d9a94d4513ee75c02c Mon Sep 17 00:00:00 2001 From: Patrick Kollitsch Date: Tue, 13 May 2025 07:05:40 +0700 Subject: [PATCH] theme(fix): use html.dir attribute configured in language setup Signed-off-by: Patrick Kollitsch --- layouts/_default/baseof.html | 2 +- layouts/partials/func/GetLanguageDirection.html | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 layouts/partials/func/GetLanguageDirection.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 623ac1f..291fbf3 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,5 +1,5 @@ - + diff --git a/layouts/partials/func/GetLanguageDirection.html b/layouts/partials/func/GetLanguageDirection.html deleted file mode 100644 index 28da8e5..0000000 --- a/layouts/partials/func/GetLanguageDirection.html +++ /dev/null @@ -1,7 +0,0 @@ -{{ $dir := "" }} -{{ if compare.Ge hugo.Version "0.67.1" }} - {{ with site.Language.LanguageDirection }} - {{ $dir = . }} - {{ end }} -{{ end }} -{{ return $dir }}