congo/layouts/_default/baseof.html

22 lines
699 B
HTML
Raw Normal View History

2021-08-11 05:28:33 +00:00
<!DOCTYPE html>
<html
2022-01-11 01:00:27 +00:00
lang="{{ with .Site.Language.Params.htmlCode | default (.Site.LanguageCode | default "en") }}
{{- . -}}
{{ end }}"
2022-01-11 05:17:49 +00:00
dir="{{ if .Site.Language.Params.rtl | default false -}}
rtl
{{- else -}}
ltr
{{- end }}"
2022-01-11 13:08:38 +00:00
class="scroll-smooth {{ if .Site.Params.darkMode | default false }}dark{{ end }}"
>
2021-08-11 05:28:33 +00:00
{{- partial "head.html" . -}}
<body
2021-08-20 07:02:08 +00:00
class="flex flex-col h-screen px-6 m-auto text-lg leading-7 bg-neutral text-neutral-900 sm:px-14 md:px-24 lg:px-32 dark:bg-neutral-800 dark:text-neutral max-w-7xl"
2021-08-11 05:28:33 +00:00
>
{{- partial "header.html" . -}}
<main class="grow">{{- block "main" . }}{{- end }}</main>
2021-08-11 05:28:33 +00:00
{{- partial "footer.html" . -}}
</body>
</html>