From 41252312f2a567f6febff5d08ad08dc3cbade88c Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Mon, 19 Jun 2023 09:11:43 -0700 Subject: [PATCH] chore: additional redirects --- _redirects | 2 ++ netlify.toml | 5 +++++ src/feeds/gpc.liquid | 9 +++++++++ 3 files changed, 16 insertions(+) create mode 100644 src/feeds/gpc.liquid diff --git a/_redirects b/_redirects index 6ed056ba..445de762 100644 --- a/_redirects +++ b/_redirects @@ -11,6 +11,8 @@ /apple-touch-icon.png /assets/img/favicon/apple-touch-icon.png 200! /apple-touch-icon-precomposed.png /assets/img/favicon/apple-touch-icon.png 200! /static/favicons/apple-touch-icon.png /assets/img/favicon/apple-touch-icon.png 200! +/sitemap.txt /sitemap.xml 200! +/articles/ / 200! # blog posts /blog/fixing-safari-icloud-syncing /posts/2022/fixing-safari-icloud-syncing/ 301! diff --git a/netlify.toml b/netlify.toml index b9a5bf4b..500f36fc 100644 --- a/netlify.toml +++ b/netlify.toml @@ -57,5 +57,10 @@ for = "/follow.xml" [[headers]] for = "/.well-known/webfinger" + [headers.values] + Content-Type = "application/jrd+json; charset=utf-8" + +[[headers]] +for = "/.well-known/gpc.json" [headers.values] Content-Type = "application/jrd+json; charset=utf-8" \ No newline at end of file diff --git a/src/feeds/gpc.liquid b/src/feeds/gpc.liquid new file mode 100644 index 00000000..52070399 --- /dev/null +++ b/src/feeds/gpc.liquid @@ -0,0 +1,9 @@ +--- +permalink: '.well-known/gpc.json' +eleventyExcludeFromCollections: true +dynamicPermalink: false +--- +{ + "gpc": true, + "lastUpdate": "2023-06-19" +} \ No newline at end of file