{{ define "main" }}
{{ if .Params.announcement }}
{{ .Params.announcement | markdownify }}
{{ end }}

{{ .Title }}

{{ $highlight_authors := .GetTerms "authors" }}
Published on: {{ .Date | time.Format ":date_long" }}. Written by: {{ range $ind, $author := $highlight_authors }} {{ $author.LinkTitle }} {{ if ne ($highlight_authors | len) (add $ind 1) }} , {{ end }} {{ end }}
{{ .Title }}
{{ .Params.banner_caption | markdownify }}
{{ .Content }}
Tags: {{ range (.GetTerms "tags") }} {{ .LinkTitle }} {{ end }}
Share this:
{{ $related := site.RegularPages.Related . }} {{ if $related }}

Similar data highlights

{{ .Scratch.Set "highlights_list" (first 4 $related) }} {{ partial "highlights_cards.html" . }}
{{ end }} {{ end }}