{{- $data := index hugo.Data "whats-new" -}} {{- with $data.items -}} {{- $items := sort . "published" "desc" -}} {{- $more := where $items "featured" false -}}

What's new

    {{ range $items }}
  1. {{ .product }} {{ .title }} {{ partialCached "icon" "arrow-right" "arrow-right" }} {{ .description }}
  2. {{ end }}
{{ with $more }} {{ end }}
{{- end -}}