{{ define "main" }}
{{ partial "pagination.html" . }} {{ range .Paginator.Pages}} {{ if not (eq .Type "response")}}
{{if eq .Type "article" }}
{{ with .Page.Params.Image }}{{ partial "taxonomy/image.html" . }}{{ end }}

{{ .Title }}

{{ .Description }}{{ end }} {{ if eq .Type "article" }}
{{ with .Page.Params.Blog }}Blog: {{ partial "taxonomy/blog.html" . }}{{ end }}
{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}{{ .ReadingTime }}-minute read
{{ with .Page.Params.tag }}Tags: {{ partial "taxonomy/tags.html" . }}{{ end }}
{{ end }}
{{ .Content }} {{ if eq .Type "photo"}}
{{ range .Page.Params.Photo }} {{end}}
{{end}}

{{ if not (eq .Type "article") }}
{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}
{{ end }}

{{ else }} {{ if .Params.inreplyto }}
{{ end }} {{ if .Params.likeof }}
{{ end }} {{ if .Params.repostof }}
{{ end }}

{{ .Site.Params.Title }} {{ if .Params.inreplyto }} replied to a{{ end }} {{ if .Params.likeof }} liked a{{ end }} {{ if .Params.repostof }} shared a{{ end }} {{ if .Params.likeof }} post{{ end }} {{ if .Params.inreplyto }} post{{ end }} {{ if .Params.repostof }} post{{ end }}

{{ if .Content }}
{{ .Content }}
{{end}} {{ if not (eq .Type "article") }}
{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}
{{ end }}

{{end}} {{ end }} {{ partial "pagination.html" . }}
{{ end }}