Webmen­tions

This site supports Webmentions. Webmentions received for this post will appear in the following list after I approve them. I sometimes send Webmentions to myself on behalf of linking sites that don't support them. Check the Wayback Machine if any links are broken.

{{ partial "webmention-form.html" }}
{{- $target := .RelPermalink | replaceRE "^/~seirdy/" "/" }} {{- $oldTarget := $target | replaceRE "/posts" "" | replaceRE "/$" ".html" -}} {{ $url1 := printf "https://seirdy.one/webmentions/get?status=approved&target=https://seirdy.one%s" $target -}} {{ $url2 := printf "https://seirdy.one/webmentions/get?status=approved&target=https://seirdy.one%s" $oldTarget -}} {{ $webmentions := (getJSON $url1) | append (getJSON $url2) -}} {{ range sort $webmentions "created_at" -}} {{ $webmention := . -}} {{ if (eq $webmention.type "like") -}}
{{- else -}}
{{- end -}}
{{ if (eq $webmention.type "like") -}} {{ if $webmention.author_name -}} {{ $webmention.author_name }} {{ else if $webmention.title -}} {{ $webmention.title -}} {{ else -}} {{ $webmention.source -}} {{ end -}} this {{ else -}} {{- if $webmention.author_name }} by {{- end -}} {{- end }}
{{ else -}}
Nothing here
This post does not have any approved Webmentions yet.
{{- end }}