1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-10-29 03:15:49 -04:00

update webmention.io tags

This commit is contained in:
2021-11-08 08:29:21 -05:00
parent 4c56707026
commit b1d95a6283
2 changed files with 4 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
{{ if .Site.Params.social.webmentionIO }} {{ with .Site.Params.social.webmentionIO }}
<link rel="webmention" href="{{ "/api/mention/" | absURL }}"> <link rel="webmention" href="https://webmention.io/{{ . }}/webmention">
<link rel="pingback" href="{{ "/api/ping/" | absURL }}"> <link rel="pingback" href="https://webmention.io/{{ . }}/xmlrpc">
{{ end }} {{ end }}
<link rel="author" href="{{ "humans.txt" | absURL }}"> <link rel="author" href="{{ "humans.txt" | absURL }}">

View File

@@ -11,9 +11,7 @@
{ {
"source": "/apple-touch-icon-precomposed.png", "source": "/apple-touch-icon-precomposed.png",
"destination": "/assets/images/apple-touch-icon.png" "destination": "/assets/images/apple-touch-icon.png"
}, }
{ "source": "/api/mention/", "destination": "https://webmention.io/jarv.is/webmention" },
{ "source": "/api/ping/", "destination": "https://webmention.io/jarv.is/xmlrpc" }
], ],
"redirects": [ "redirects": [
{ "source": "/notes/:slug/amp.html", "destination": "/notes/:slug/", "statusCode": 301 }, { "source": "/notes/:slug/amp.html", "destination": "/notes/:slug/", "statusCode": 301 },