mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 20:13:31 +08:00
add LanguageDirection variable
This commit is contained in:
parent
adf27aebf2
commit
f60fdd86ac
@ -1,5 +1,6 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="{{ .Site.LanguageCode }}">
|
<html lang="{{ .Site.LanguageCode }}" class="direction-{{ .Language.LanguageDirection | default "ltr" }}">
|
||||||
|
<!-- https://github.com/adityatelange/hugo-PaperMod/pull/47 -->
|
||||||
<head>
|
<head>
|
||||||
{{- partial "head/head.html" . -}}
|
{{- partial "head/head.html" . -}}
|
||||||
{{- block "head" . -}}{{ end }}
|
{{- block "head" . -}}{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user