Add html.html
parent
71f80c7bbe
commit
4406aa8683
@ -0,0 +1,8 @@
|
||||
{{ $page := . }}
|
||||
|
||||
{{ $credit := $page.Param "paige.credit.data.hide" | not }}
|
||||
{{ $dark := eq ($page.Param "paige.color_scheme") "dark" }}
|
||||
{{ $lang := site.LanguageCode | default site.Language.Lang }}
|
||||
{{ $rtl := eq $page.Language.LanguageDirection "rtl" }}
|
||||
|
||||
<html {{ if $dark }} data-bs-theme="dark" {{ end }} {{ if $credit }} data-paige-credit="Paige theme from https://github.com/willfaught/paige" {{ end }} {{ if $rtl }} dir="rtl" {{ end }} {{ with $lang }} lang="{{ . }}" {{ end }}>
|
Loading…
Reference in New Issue