1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-09-19 20:02:10 +00:00

pingback-webmention conversion with webmention.io

someday i should replace this with a self-hosted option
This commit is contained in:
Rohan Kumar 2023-08-07 17:50:36 -07:00
parent 07ead4b5a5
commit f8fb0dc0c9
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -18,6 +18,7 @@
{{ end -}}
<link href="{{ .Site.Params.CanonicalBaseURL }}{{ $canonicalRelPermalink }}" rel="canonical" />
<link href="{{ .Site.Params.WebmentionEndpoint }}" rel="webmention" />
<link href="{{ printf `https://webmention.io/webmention?forward=%s` .Site.Params.WebmentionEndpoint}}" rel="pingback" />
{{ $webmanifest := resources.Get "/manifest.webmanifest" | resources.ExecuteAsTemplate "manifest.webmanifest" . | resources.Minify | resources.Fingerprint "md5" -}}
{{- printf `<link href="%s" rel="manifest" />` $webmanifest.RelPermalink | safeHTML -}}
<!--Feeds for both notes and articles; articles come first unless we're in the notes section.-->