From b74fdc2072869aa6f279fee24f0bd0a0ac6e005d Mon Sep 17 00:00:00 2001
From: Cory Dransfeldt <hi@coryd.dev>
Date: Sun, 6 Oct 2024 10:25:22 -0700
Subject: [PATCH] chore: webfinger

---
 src/pages/meta/ai.liquid             |  2 +-
 src/pages/meta/robots.liquid         |  2 +-
 src/pages/meta/sitemap.liquid        |  1 +
 src/pages/meta/webfinger.json.liquid | 33 ++++++++++++++++++++++++++++
 4 files changed, 36 insertions(+), 2 deletions(-)
 create mode 100644 src/pages/meta/webfinger.json.liquid

diff --git a/src/pages/meta/ai.liquid b/src/pages/meta/ai.liquid
index e28ae776..11801c88 100644
--- a/src/pages/meta/ai.liquid
+++ b/src/pages/meta/ai.liquid
@@ -1,7 +1,7 @@
 ---
 permalink: "/ai.txt"
+layout: null
 eleventyExcludeFromCollections: true
-dynamicPermalink: false
 ---
 User-Agent: *
 Disallow: /
diff --git a/src/pages/meta/robots.liquid b/src/pages/meta/robots.liquid
index d13e2956..bf87e75c 100644
--- a/src/pages/meta/robots.liquid
+++ b/src/pages/meta/robots.liquid
@@ -1,7 +1,7 @@
 ---
 permalink: "/robots.txt"
+layout: null
 eleventyExcludeFromCollections: true
-dynamicPermalink: false
 ---
 Sitemap: https://coryd.dev/sitemap.xml
 
diff --git a/src/pages/meta/sitemap.liquid b/src/pages/meta/sitemap.liquid
index bc2e9cf9..b5575c0b 100644
--- a/src/pages/meta/sitemap.liquid
+++ b/src/pages/meta/sitemap.liquid
@@ -1,5 +1,6 @@
 ---
 permalink: "/sitemap.xml"
+layout: null
 eleventyExcludeFromCollections: true
 ---
 <?xml version="1.0" encoding="utf-8"?>
diff --git a/src/pages/meta/webfinger.json.liquid b/src/pages/meta/webfinger.json.liquid
new file mode 100644
index 00000000..514e5e40
--- /dev/null
+++ b/src/pages/meta/webfinger.json.liquid
@@ -0,0 +1,33 @@
+---
+permalink: "/.well-known/webfinger"
+layout: null
+eleventyExcludeFromCollections: true
+---
+{
+  "subject":"acct:cory@follow.coryd.dev",
+  "aliases":[
+    "https://follow.coryd.dev/@cory",
+    "https://follow.coryd.dev/users/cory"
+  ],
+  "links":[
+    {
+      "rel":"http://webfinger.net/rel/profile-page",
+      "type":"text/html",
+      "href":"https://follow.coryd.dev/@cory"
+    },
+    {
+      "rel":"self",
+      "type":"application/activity+json",
+      "href":"https://follow.coryd.dev/users/cory"
+    },
+    {
+      "rel":"http://ostatus.org/schema/1.0/subscribe",
+      "template":"https://follow.coryd.dev/authorize_interaction?uri={uri}"
+    },
+    {
+      "rel":"http://webfinger.net/rel/avatar",
+      "type":"image/png",
+      "href":"https://cdn.coryd.dev/f7516bb2-d914-479f-91c6-1bf96f3968bf.png?class=squarebase"
+    }
+  ]
+}
\ No newline at end of file