gohugo-theme-ananke/layouts/partials/func/GetLanguageDirection.html
Patrick Kollitsch 180471112e
refactor: move all template methods to proper GoHugo methods
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2025-03-10 16:29:18 +07:00

8 lines
165 B
HTML

{{ $dir := "" }}
{{ if compare.Ge hugo.Version "0.67.1" }}
{{ with site.Language.LanguageDirection }}
{{ $dir = . }}
{{ end }}
{{ end }}
{{ return $dir }}