{{ $showmeta := "false" }} {{ $metas := dict "when" .context.Params.when "price" .context.Params.price "contact" .context.Params.contact "covid" .context.Params.covid }} {{ if eq .type "list" }} {{ $metas = dict "when" .context.Params.when "price" .context.Params.price }} {{ end }} {{ partial "contentlayouts/meta.html" $metas }} {{ $small := "solo" }} {{ $big := "solo" }} {{ $img := "" }} {{ $thumb := "" }} {{ $placeholder := site.Params.placeholder }} {{ if ne .context.Section "misc"}} {{ $img = resources.Get $placeholder }} {{- $thumb = $img.Resize "1024x" }} {{ end }} {{- if or (.context.Resources.ByType "image") (.Summary) ($img) -}} {{ $small = "multiple_small" }} {{ $big = "multiple_big" }} {{ else }} {{ $small = "multiple_big"}} {{ end }} {{- if and (.context.Resources.ByType "image") (ne .context.Section "misc") -}} {{- $img = index (.context.Resources.ByType "image") 0 -}} {{- $thumb = $img.Resize "1024x" }} {{ if ne .context.Content "" }} {{- $thumb = $img.Resize "2048x" }} {{ end }} {{ end }}