{{ $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 }} {{ $pic := "solo" }} {{ $text := "solo" }} {{- if and (.context.Resources.ByType "image") (.context.Content) -}} {{ $pic = "multiple_small" }} {{ $text = "multiple_big" }} {{ end }} {{ partial "snippets/article_metadata" $metas }}