2020-08-22 07:20:08 -04:00
|
|
|
<!DOCTYPE html>
|
2022-03-03 18:25:34 -05:00
|
|
|
<html lang="{{ .Site.LanguageCode }}" dir="{{ default `ltr` .Language.LanguageDirection }}">
|
2020-09-26 17:00:48 -04:00
|
|
|
<head>
|
|
|
|
{{- partial "head/head.html" . -}}
|
|
|
|
{{- block "head" . -}}{{ end }}
|
|
|
|
</head>
|
2020-09-12 04:33:53 -04:00
|
|
|
<body class="{{ block `body-class` . }}{{ end }}">
|
2020-12-23 13:03:40 -05:00
|
|
|
{{- partial "head/colorScheme" . -}}
|
2022-03-06 04:58:02 -05:00
|
|
|
|
|
|
|
{{/* The container is wider when there's any activated widget */}}
|
|
|
|
{{- $hasWidget := false -}}
|
|
|
|
{{- range .Site.Params.widgets -}}
|
|
|
|
{{- if gt (len .) 0 -}}
|
|
|
|
{{- $hasWidget = true -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- end -}}
|
2022-02-26 17:45:25 -05:00
|
|
|
<div class="container main-container flex on-phone--column {{ if $hasWidget }}extended{{ else }}compact{{ end }}">
|
2021-06-21 12:44:54 -04:00
|
|
|
{{- block "left-sidebar" . -}}
|
|
|
|
{{ partial "sidebar/left.html" . }}
|
|
|
|
{{- end -}}
|
2022-10-21 07:06:06 -04:00
|
|
|
{{- block "right-sidebar" . -}}{{ end }}
|
2020-09-12 04:33:53 -04:00
|
|
|
<main class="main full-width">
|
|
|
|
{{- block "main" . }}{{- end }}
|
|
|
|
</main>
|
2020-08-22 07:20:08 -04:00
|
|
|
</div>
|
2020-09-17 13:47:03 -04:00
|
|
|
{{ partial "footer/include.html" . }}
|
2020-08-22 07:20:08 -04:00
|
|
|
</body>
|
|
|
|
</html>
|