{{ block "meta_tags" . }}{{end}} {{ if .Site.IsServer }} {{ $style := resources.Get "scss/style.scss" | toCSS (dict "targetPath" "css/style.css" "enableSourceMap" true) }} {{ else }} {{ $style := resources.Get "scss/style.scss" | toCSS (dict "targetPath" "css/style.css" "enableSourceMap" false) }} {{ end }} {{ block "header_css" . }}{{ end }} {{ partial "main-menu-mobile.html" . }}
{{ partial "header.html" . }} {{ $displaySidebar := false }} {{ range .Site.Params.mainSections }} {{ if eq $.Section . }} {{ $displaySidebar = true }} {{ end }} {{ end }} {{ if $displaySidebar }}
{{ block "main" . }} {{ end }}
{{ else }} {{ block "main" . }} {{ end }} {{ end}}
{{ partial "sub-footer.html" . }} {{ $scripts := resources.Get "js/scripts.js" }} {{ block "footer_js" . }} {{ end }} {{ if .Site.IsServer }} {{ else }} {{ end }} {{ partial "google-analytics.html" . }}