{{ define "main" }} {{ if or (eq .Kind "term") (eq .Kind "taxonomy") }}

{{ partial "icon.html" "filter" }} Filtering for "{{ .Title }}" {{ if eq .Kind "term" }} {{ with .OutputFormats.Get "rss" }} {{ partial "icon.html" "rss" }} {{ end }} {{ end }}

{{ else }}

{{ with .Params.icon }}{{ partial "icon.html" . }}{{ end }} {{ .Title | markdownify }} {{ with .OutputFormats.Get "rss" }} {{ partial "icon.html" "rss" }} {{ end }}

{{ end }} {{ if eq .Kind "taxonomy" }} {{ else }} {{ range .Paginator.Pages }} {{ .Render "summary" }} {{ else }}
No posts here!
{{ end }} {{ if gt .Paginator.TotalPages 1 }} {{ end }} {{ end }} {{ end }}