{{- $hasCover := or (.Site.Params.defaultFeaturedImage) (.Params.featured_image) -}}
{{- if .Params.categories -}}
{{- range .Params.categories -}} {{- . -}} , {{- end -}}
{{- end -}}
{{- if .Params.tags -}} {{- range first 4 .Params.tags -}} {{- . -}} {{- end -}} {{- end -}}