mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-10-01 01:06:14 -04:00
575cc0ca8c
- The site function provides global access to the same data as the .Site page method. - Current context (`.`) is never considered.
24 lines
624 B
HTML
24 lines
624 B
HTML
<!DOCTYPE html>
|
|
<html lang="{{ site.Language }}" dir="{{ .Language.LanguageDirection | default "auto" }}">
|
|
|
|
<head>
|
|
{{- partial "head.html" . }}
|
|
</head>
|
|
|
|
<body class="
|
|
{{- if (or (ne .Kind `page` ) (eq .Layout `archives`) (eq .Layout `search`)) -}}
|
|
{{- print "list" -}}
|
|
{{- end -}}
|
|
{{- if eq site.Params.defaultTheme `dark` -}}
|
|
{{- print " dark" }}
|
|
{{- end -}}
|
|
" id="top">
|
|
{{- partialCached "header.html" . .Page -}}
|
|
<main class="main">
|
|
{{- block "main" . }}{{ end }}
|
|
</main>
|
|
{{ partialCached "footer.html" . .Layout .Kind (.Param "hideFooter") (.Param "ShowCodeCopyButtons") -}}
|
|
</body>
|
|
|
|
</html>
|