mirror of https://github.com/jpanther/congo.git
Fixes incorrect language codes referenced in the baseof.html template by updating the lang attribute to use .Site.Language.LanguageCode instead of site.Language.LanguageCode and .Site.Language.LanguageDirection instead of site.Language.LanguageDirection, ensuring the HTML language matches the configuration.
parent
50b77b2836
commit
5a0a0b8d5b
|
@ -2,8 +2,8 @@
|
||||||
{{- partial "partials/functions/init.html" . -}}
|
{{- partial "partials/functions/init.html" . -}}
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html
|
<html
|
||||||
lang="{{- site.Language.LanguageCode | default "" -}}"
|
lang="{{- .Site.Language.LanguageCode | default "" -}}"
|
||||||
dir="{{- site.Language.LanguageDirection | default "ltr" -}}"
|
dir="{{- .Site.Language.LanguageDirection | default "ltr" -}}"
|
||||||
class="scroll-smooth"
|
class="scroll-smooth"
|
||||||
data-default-appearance="{{- .Site.Params.defaultAppearance | default "light" -}}"
|
data-default-appearance="{{- .Site.Params.defaultAppearance | default "light" -}}"
|
||||||
data-auto-appearance="{{- .Site.Params.autoSwitchAppearance | default "true" -}}"
|
data-auto-appearance="{{- .Site.Params.autoSwitchAppearance | default "true" -}}"
|
||||||
|
|
Loading…
Reference in New Issue