mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 12:03:31 +08:00
add LanguageDirection variable
This commit is contained in:
parent
adf27aebf2
commit
f60fdd86ac
@ -1,5 +1,6 @@
|
||||
<!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>
|
||||
{{- partial "head/head.html" . -}}
|
||||
{{- block "head" . -}}{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user