Add html.html
This commit is contained in:
@@ -1,12 +1,7 @@
|
||||
{{ $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" }}
|
||||
|
||||
<!doctype html>
|
||||
<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 }}>
|
||||
{{ partial "paige/html.html" $page }}
|
||||
{{ partial "paige/head.html" $page }}
|
||||
{{ partial "paige/body.html" $page }}
|
||||
{{ if templates.Exists "partials/paige/body-first.html" }}
|
||||
|
Reference in New Issue
Block a user