{{ define "main" }}
{{ partial "header.html" . }} {{ partial "components/postnav.html" . }} {{ if eq .Type "tags" }}
{{ range sort .Site.Taxonomies.tags "Count" "desc" }} #{{ .Page.LinkTitle }} {{ .Count }} {{ end }}
{{ end }} {{ if eq .Type "categories" }} {{ partial "components/welcome.html" . }}
{{ range sort .Site.Taxonomies.categories ".Count" "desc" }}

{{ with .Page.Params.icon }}{{ . }}{{ end }} {{ .Page.LinkTitle }}

{{ .Page.Params.description }}

{{ if gt .Count 6 }} 阅读所有 {{ .Count }} 篇文章 {{ end }}
{{ end }}
{{ end }}
{{ partial "footer.html" . }} {{ end }}