diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-04-27 00:08:33 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-04-27 00:08:33 +0200 |
| commit | d356641e2b45db0f87f64956ff91240edadf0a97 (patch) | |
| tree | fa92db35674ece56b3cc0f3f9cef52d39cb12ade /layouts/partials/func/GetLanguageDirection.html | |
| parent | 38ccf62df5666b067fe63fa9dfd262fdef012706 (diff) | |
| download | gohugo-theme-ed-d356641e2b45db0f87f64956ff91240edadf0a97.tar.gz | |
Define GetLanguageDirection function
Diffstat (limited to 'layouts/partials/func/GetLanguageDirection.html')
| -rw-r--r-- | layouts/partials/func/GetLanguageDirection.html | 5 |
1 files changed, 5 insertions, 0 deletions
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 }} |
