{{ range $post := first 10 (where .Site.Pages "Type" "blog").ByDate.Reverse }}
{{ if in $post.File.Filename "_index.md" }}
{{/* The /blog/_index.md file unfortunately shows up in the list, so we skip it. */}}
{{ else }}
{{/* Only show the top N blog tags. This lists releases first, then features, then most popular descendingly. */}}
{{ $allTags := .Site.Taxonomies.tags.ByCount }}
{{ $releases := where $allTags "Name" "pulumi-releases" }}
{{ $features := where $allTags "Name" "features" }}
{{ $others := where $allTags "Name" "not in" "pulumi-releases features" }}