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

{{ .Title }}

{{ .Description }}
{{ .ReadingTime }}-minute read

{{ with .Page.Params.Blog }} {{ partial "taxonomy/blog.html" . }}{{ end }}
{{ with .Page.Params.category }}{{ partial "taxonomy/categories.html" . }}{{ end }}{{ with .Page.Params.tag }}, {{ partial "taxonomy/tags.html" . }}{{ end }}
{{ end }}
{{ .Content }} {{ if eq .Type "photo"}}
{{ range .Page.Params.Photo }} {{ if isset . "value" }} {{ .alt }} {{ else }} Alt not yet added, will fix! {{end}} {{end}}
{{end}} {{ if eq .Type "article" }} {{ end }}
{{ if not (eq .Type "article") }}
{{ with .Page.Params.pixelfedurl }}{{ end }}{{ with .Page.Params.category }}{{ partial "taxonomy/categories.html" . }}{{ end }}{{ with .Page.Params.tag }}, {{ partial "taxonomy/tags.html" . }}{{ end }} {{ end }}
{{ end }}

Interactions


Alternatively, if you do not have a webmentions enabled website then you can leave a message using the comment parade form below.

Comment Parade

Please copy the following and paste into the URL field below: {{.Permalink }}

All going well, interactions will take a few minutes to appear, possibly longer due to .. gremlins.

{{ $mention_ids := index $.Site.Data.index .RelPermalink }} {{ if isset $mention_ids 0}} {{ $mentions := apply $mention_ids "index" $.Site.Data.mentions "." }} {{ $mentions := sort $mentions "wm-received" }}

Comments & Replies

{{ partial "webmention.html" $mentions }}
{{ end }}
{{ 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 }}

{{ .Site.Params.Title }} {{ if eq .Params.posttype "like-of" }} liked {{ .Params.xAuthor }}'s {{ .Params.xPostType }}{{ end }} {{ if eq .Params.posttype "in-reply-to" }} replied to {{ .Params.xAuthor }}'s {{ .Params.xPostType }}{{ end }} {{ if eq .Params.posttype "repost-of" }} shared {{ .Params.xAuthor }}'s {{ .Params.xPostType }}{{ end }}

{{ if .Params.xContent }}
{{ .Params.xAuthor }}'s avatar{{ dateFormat "Mon, 02 Jan 2006 15:04:05 GMT" .Params.xPublished }}{{ plainify .Params.xContent }} {{ if .Params.xContentPhoto }}

{{ range .Params.xContentPhoto }}{{ end }}{{ end }}
{{end}} {{ if .Content }}

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