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