diff --git a/layouts/partials/webmentions.html b/layouts/partials/webmentions.html
index e1da4e5..706d103 100644
--- a/layouts/partials/webmentions.html
+++ b/layouts/partials/webmentions.html
@@ -2,58 +2,61 @@
Webmentions
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 -}}
-
Toggle Webmentions
++ {{- $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 -}}
+ liked this
{{ else -}}
- {{ $webmention.source -}}
- {{ end -}}
- liked this
- {{ else -}}
-
-
- {{ if $webmention.title -}}
- {{ $webmention.title | truncate 200 -}}
- {{ else -}}
- {{- $webmention.source | strings.TrimPrefix "https://" | strings.TrimPrefix "www." | strings.TrimRight "/" | truncate 35 -}}
- {{ end -}}
-
- {{- if $webmention.author_name }}
- by {{ $webmention.author_name }}
- {{- end -}}
- {{- end }}
-
-
- {{ else -}}
- - Nothing here
- - This post does not have any approved Webmentions yet.
- {{- end }}
-
+
+
+ {{ if $webmention.title -}}
+ {{ $webmention.title | truncate 200 -}}
+ {{ else -}}
+ {{- $webmention.source | strings.TrimPrefix "https://" | strings.TrimPrefix "www." | strings.TrimRight "/" | truncate 35 -}}
+ {{ end -}}
+
+ {{- if $webmention.author_name }}
+ by {{ $webmention.author_name }}
+ {{- end -}}
+ {{- end }}
+
+
+ {{ else -}}
+ - Nothing here
+ - This post does not have any approved Webmentions yet.
+ {{- end }}
+
+Feel free to contact me directly with feedback; here’s my contact info