{{ .Render "meta" }} {{ if .OutputFormats.Get "RSS" }} {{ end }} {{- if not .IsHome }}{{ .Title }} - {{ .Site.Title }}{{- else }}{{ .Site.Title }} - {{ .Site.Params.Tagline }}{{- end}} {{ $stylesheet := resources.Get "scss/style.scss" | toCSS | minify }} {{- block "css" . }}{{- end }} {{ if eq (getenv "HUGO_ENV") "PRD" }} {{ else }} {{ end }} {{- if not .IsHome }} {{ partial "layout/navbar" . }} {{- end }} {{ .Render "header" }} {{ block "header" . }}{{ end }} {{ $full_width := .Params.FullWidth | default false }} {{ $left_sidebar := .Params.left_sidebar | default false }} {{- if .IsHome }}
{{ block "main" . }}{{ end }}
{{ else if eq $full_width true }}
{{ block "main" . }}{{ end }}
{{ else if eq $left_sidebar true }}
{{ block "main" . }}{{ end }}
{{ block "sidebar" . }}{{ end }} {{ partial "layout/sidebar" }}
{{ block "btm_bar" . }}{{ end }} {{ partial "layout/btm_bar" }}
{{ else }}
{{ block "main" . }}{{ end }}
{{ block "sidebar" . }}{{ end }} {{ partial "layout/sidebar" }}
{{ block "btm_bar" . }}{{ end }} {{ partial "layout/btm_bar" }}
{{ end }}
{{ $mainJs := resources.Match "js/**.js" | resources.Concat "js/script.js" | minify }} {{- block "scripts" . }}{{- end }} {{- if eq (getenv "HUGO_ENV") "PRD" }} {{- end }}