{{- with site.Params.images -}} {{- range first 6 . }} {{ end -}} {{- else -}} {{ $images := .Page.Resources.ByType "image" }} {{ $featuredImage := $images.GetMatch "*feature*" }} {{ if not $featuredImage }} {{ $featuredImage = $images.GetMatch "{*cover*,*thumbnail*}" }} {{ end }} {{ $disableImageOptimization := .Page.Site.Params.disableImageOptimization | default false }} {{ if and ($featuredImage) (not (or ($disableImageOptimization) (strings.HasSuffix $featuredImage.Name ".svg"))) }} {{ $featuredImage = $featuredImage.Resize "600x" }} {{ end }} {{ with $featuredImage }} {{ $className := printf "background-image-%s" (md5 .RelPermalink) }} {{ else }} {{ with site.Params.images }} {{ end }} {{ end }} {{ end }} {{ if site.Params.taxonomy.showTermCount | default true }} {{ .Count }} {{ end }}
{{ .Page.Title | emojify }}