{{ define "main" }} {{ if not (eq .Type "response" "bookmarkof")}}
{{ with .Page.Params.Image }}{{ partial "taxonomy/image.html" . }}{{ end }}

{{ .Title }}

{{ .Description }}
{{ else if eq .Type "bookmarkof" }} {{ $cats := slice }} {{ range .Site.Data.bookmarks }} {{ $cats = $cats | append .category }} {{ end }} {{ $cats = uniq $cats | sort }} {{ range $cats }} {{ $cat := . }}

{{ $cat }}

{{ range $.Site.Data.bookmarks }} {{ if eq .category $cat }}
{{ end }} {{ end }} {{ end }} {{ else }}
{{ if .Params.likeof }}

Liked {{ .Params.likeof }}{{ end }} {{ if .Params.inreplyto }}

Replied to {{ .Params.inreplyto }}{{ end }} {{ if .Params.repostof }}

Shared {{ .Params.repostof }}{{ end }}

{{ if .Content }}

{{ .Content }}

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