From d356641e2b45db0f87f64956ff91240edadf0a97 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Wed, 27 Apr 2022 00:08:33 +0200 Subject: Define GetLanguageDirection function --- layouts/partials/func/GetLanguageDirection.html | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 layouts/partials/func/GetLanguageDirection.html (limited to 'layouts/partials/func/GetLanguageDirection.html') diff --git a/layouts/partials/func/GetLanguageDirection.html b/layouts/partials/func/GetLanguageDirection.html new file mode 100644 index 0000000..fe107a8 --- /dev/null +++ b/layouts/partials/func/GetLanguageDirection.html @@ -0,0 +1,5 @@ +{{ $dir := "" }} +{{ with site.Language.LanguageDirection }} + {{ $dir = . }} +{{ end }} +{{ return $dir }} -- cgit v1.2.3