Skip to content

Commit

Permalink
Fix #1595
Browse files Browse the repository at this point in the history
  • Loading branch information
tdelmas authored Nov 8, 2023
1 parent 08dc8c4 commit edcc796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html
dir="{{ with .Language.LanguageDirection }}{{ . }}{{ else }}ltr{{ end }}"
dir="{{ with $.Site.Language.LanguageDirection }}{{ . }}{{ else }}ltr{{ end }}"
lang="{{ if and $.Site.LanguageCode (not .Page.Params.untranslated) }}{{ $.Site.LanguageCode }}{{ else }}en-US{{ end }}">

{{/* For untranslated page, we use the English header. */}}
Expand Down

0 comments on commit edcc796

Please sign in to comment.