{{ with .Resources.GetMatch "{cover.*,*.jpg,*.png,*.jpeg}" }} {{ end }} Posted by {{ .Site.Params.author }} on {{ partial "time.html" . }} {{ range $i, $e := .Params.tags -}} {{- if $i -}}, {{ end -}} #{{ $e }} {{- end -}}