summaryrefslogtreecommitdiffstats
path: root/layouts/partials/func
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/func')
-rw-r--r--layouts/partials/func/GetLanguageDirection.html5
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 }}