Files
hugo-theme-stack/layouts/_default/baseof.html
T

22 lines
856 B
HTML
Raw Normal View History

2020-08-22 13:20:08 +02:00
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
2020-09-26 23:00:48 +02:00
<head>
{{- partial "head/head.html" . -}}
{{- block "head" . -}}{{ end }}
</head>
<body class="{{ block `body-class` . }}{{ end }}">
2020-12-23 19:03:40 +01:00
{{- partial "head/colorScheme" . -}}
2022-02-26 23:45:25 +01:00
{{- $hasWidget := default (gt (len .Site.Params.widgets.homepage) 0) (.Scratch.Get "hasWidget") -}}
<div class="container main-container flex on-phone--column {{ if $hasWidget }}extended{{ else }}compact{{ end }}">
2021-06-21 18:44:54 +02:00
{{- block "left-sidebar" . -}}
{{ partial "sidebar/left.html" . }}
{{- end -}}
<main class="main full-width">
{{- block "main" . }}{{- end }}
</main>
{{- block "right-sidebar" . -}}{{ end }}
2020-08-22 13:20:08 +02:00
</div>
2020-09-17 19:47:03 +02:00
{{ partial "footer/include.html" . }}
2020-08-22 13:20:08 +02:00
</body>
</html>