{{- with $.Params.images -}} {{ else -}} {{- $images := $.Resources.ByType "image" -}} {{- $featured := $images.GetMatch "*feature*" -}} {{- if not $featured }}{{ $featured = $images.GetMatch "{*cover*,*thumbnail*}" }}{{ end -}} {{- with $featured -}} {{- else -}} {{- with $.Site.Params.images -}} {{ else -}} {{- end -}} {{- end -}} {{- end }} {{ partial "post-meta.html" . }} {{ $style := resources.Get "sass/main.scss" | toCSS | minify | fingerprint }} {{ partial "head/custom.html" . }}