{{ if .Site.IsServer }} {{ $style := resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "style.scss" . | toCSS (dict "targetPath" "css/style.css" "enableSourceMap" true) }} {{ else }} {{ $style := resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "style.scss" . | toCSS (dict "targetPath" "css/style.css" "enableSourceMap" false) }} {{ end }} {{ block "meta_tags" . }} {{ if .Params.description }}{{ end }} {{ if .Params.image }}{{ end }} {{ if .Params.description }}{{ end }} {{ if .Site.Params.twitter_handle }}{{ end }} {{ if .Site.Params.twitter_handle }}{{ end }} {{ end }} {{ $themeStyle := slice "" }} {{ if eq .Site.Params.addFrame true }}{{ $themeStyle = $themeStyle | append "frame" }}{{ end }} {{ partial "menu-main-mobile.html" . }}
{{ partial "header.html" . }} {{ block "main" . }} {{ end }} {{ partial "footer.html" . }}
{{ $scripts := resources.Get "js/scripts.js" }} {{ $js := slice $scripts | resources.Concat "js/bundle.js" }} {{ if .Site.IsServer }} {{ else }} {{ end }} {{ block "footer_js" . }} {{ end }} {{ partial "google-analytics.html" . }}