Remove tag prefix from html, head, body partials
This commit is contained in:
7
layouts/partials/paige/html.html
Normal file
7
layouts/partials/paige/html.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{{ $page := . }}
|
||||
|
||||
{{ $dark := eq ($page.Param "paige.color_scheme") "dark" }}
|
||||
{{ $lang := site.Language.LanguageCode | default site.LanguageCode }}
|
||||
{{ $rtl := eq $page.Language.LanguageDirection "rtl" }}
|
||||
|
||||
<html {{ if $dark }} data-bs-theme="dark" {{ end }} data-paige="Paige theme from https://github.com/willfaught/paige" {{ if $rtl }} dir="rtl" {{ end }} {{ with $lang }} lang="{{ . }}" {{ end }}>
|
Reference in New Issue
Block a user