diff --git a/src/feeds/webfinger.liquid b/src/feeds/webfinger.liquid new file mode 100644 index 00000000..314b7f81 --- /dev/null +++ b/src/feeds/webfinger.liquid @@ -0,0 +1,35 @@ +--- +permalink: '.well-known/webfinger' +eleventyExcludeFromCollections: true +dynamicPermalink: false +--- +{ + "subject": "acct:coryd@social.lol", + "aliases": ["https://coryd.dev", "https://social.lol/@coryd", "https://social.lol/users/coryd"], + "links": [ + { + "rel": "http://webfinger.net/rel/avatar", + "type": "image/webp", + "href": "https://coryd.dev/static/images/avatar.webp" + }, + { + "rel": "http://webfinger.net/rel/profile-page", + "type": "text/html", + "href": "https://coryd.dev" + }, + { + "rel": "http://webfinger.net/rel/profile-page", + "type": "text/html", + "href": "https://social.lol/users/coryd" + }, + { + "rel": "self", + "type": "application/activity+json", + "href": "https://social.lol/users/coryd" + }, + { + "rel": "http://ostatus.org/schema/1.0/subscribe", + "template": "social.lol/authorize_interaction?uri={uri}" + } + ] +} \ No newline at end of file diff --git a/vercel.json b/vercel.json index 9e100ff2..0d89e025 100644 --- a/vercel.json +++ b/vercel.json @@ -2,7 +2,7 @@ "rewrites": [ { "source": "/.well-known/webfinger", - "destination": "https://social.lol/.well-known/webfinger?resource=cory@social.lol" + "destination": "/.well-known/webfinger.json" } ], "redirects": [