{{ define "head" }}
{{ end }}
{{ define "header" }}
{{ if .IsHome }}
{{ .Title }}
{{ if eq .Type "categories" }}
{{ $title := urlize .Title }}
{{ with .Site.Taxonomies.categories }}
{{ range $name, $taxonomy := . }}
{{ $term := urlize $name }}
{{ if eq $term $title }}
A {{ $taxonomy.Count }}-post collection
{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ if eq .Type "tags" }}
{{ $title := urlize .Title }}
{{ with .Site.Taxonomies.tags }}
{{ range $name, $taxonomy := . }}
{{ $term := urlize $name }}
{{ if eq $term $title }}
A {{ $taxonomy.Count }}-post collection
{{ end }}
{{ end }}
{{ end }}
{{ end }}