{{ if .IsHome }} {{ else if .IsPage }} {{ .Render "meta" }} {{ end }} {{ if .RSSLink }} {{ end }} {{- if not .IsHome }}{{ .Title }} - {{ .Site.Title }}{{- else }}{{ .Site.Title }} - {{ .Site.Params.Tagline }}{{- 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 }} {{- if eq .IsPage false }}
{{ block "main" . }}{{ end }}
{{ else if eq $full_width true }}
{{ block "main" . }}{{ end }}
{{ else }}
{{ block "main" . }}{{ end }}
{{ partial "layout/sidebar" }}
{{ end }}
{{- block "scripts" . }}{{- end }} {{- if eq (getenv "HUGO_ENV") "PRD" }} {{- end }}