Template formatting

This commit is contained in:
Will Faught
2023-01-10 21:30:40 -08:00
parent 4af9532c74
commit f3c02d6922
3 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
<!doctype html>
{{ $rtl := eq .Language.LanguageDirection "rtl" }}
{{ $lang := .Site.LanguageCode | default .Site.Language.Lang }}
<html{{ if eq .Site.Params.paige.color_scheme `dark` }} data-bs-theme="dark"{{ end }}{{ if $rtl }} dir="rtl"{{ end }}{{ with $lang }} lang="{{ . }}"{{ end }}>
<html {{ if eq .Site.Params.paige.color_scheme `dark` }} data-bs-theme="dark" {{ end }} {{ if $rtl }} dir="rtl" {{ end }} {{ with $lang }} lang="{{ . }}" {{ end }}>
{{ partial "paige/head.html" . }}
{{ partial "paige/body.html" . }}
<div class="container flex-fill">