diff --git a/data/i18n/rtl.toml b/data/i18n/rtl.toml new file mode 100644 index 00000000..e1b44c52 --- /dev/null +++ b/data/i18n/rtl.toml @@ -0,0 +1,2 @@ +# List of ISO 639-1 language codes for which text is directed from right to left. +rtl = ["ar", "fa", "he", "ur"] diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index ba50dc71..249dba8a 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,5 +1,6 @@ - +{{- $language_code := site.LanguageCode | default "en-us" -}} + {{ partial "site_head" . }}