{{ $posts := where site.RegularPages "Type" "blog" }} {{ $postCount := len $posts }} {{ range last 1 $posts }} {{ $tags := .Site.Taxonomies.tags }} {{ end }}
{{ end }}
{{ .Key }}
{{ range .Pages }}{{ $tag_count := 0 }} {{ range .Params.tags }} {{ if lt $tag_count 2 }} {{ $name := . }} {{ with $.Site.GetPage (printf "/tags/%s" (. | urlize)) }} #{{ $name }} {{ end }} {{ $tag_count = add $tag_count 1 }} {{ end }} {{ end }}