{{- $title := "" }} {{- $subtitle := "" }} {{- $bigimg := slice }} {{- $headerImgStyle := "big" }} {{- $thumbs := slice }} {{- $contentColClass := cond .Params.fullWidth "col-12" "col-md-10 offset-md-1" }} {{- $mainSections := default (slice "post" "posts") site.Params.mainSections }} {{- $isMainContent := in $mainSections .Type }} {{ if .IsHome }} {{- $title = .Site.Params.homeTitle | default .Site.Title }} {{- $subtitle = .Site.Params.subtitle }} {{- $bigimg = .Site.Params.bigimg }} {{- $headerImgStyle = .Site.Params.headerImgStyle | default "big" }} {{- $thumbs = .Site.Params.thumb }} {{ else }} {{- $title = .Title }} {{- $subtitle = .Params.subtitle }} {{- $bigimg = .Params.bigimg }} {{- $headerImgStyle = .Params.headerImgStyle | default "big" }} {{ end }} {{ if or (or $bigimg $title) $thumbs }} {{ if $bigimg }}
{{ end }}{{ .desc }}
{{end}}