From 9a47705fcc5d85fc71e01d56b19fc4eddc2ad856 Mon Sep 17 00:00:00 2001 From: Jake Low Date: Wed, 23 Oct 2024 14:07:48 -0700 Subject: [PATCH] Nevermind, use feed.atom (we'll redirect /feed/ in CloudFlare) --- _config.yml | 2 +- _plugins/rename_feed.rb | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 _plugins/rename_feed.rb diff --git a/_config.yml b/_config.yml index 47549f4..e8f0726 100644 --- a/_config.yml +++ b/_config.yml @@ -27,7 +27,7 @@ defaults: layout: "post" feed: - path: /feed/ + path: /feed.atom picture: output: assets/ diff --git a/_plugins/rename_feed.rb b/_plugins/rename_feed.rb deleted file mode 100644 index ac29b3d..0000000 --- a/_plugins/rename_feed.rb +++ /dev/null @@ -1,4 +0,0 @@ -Jekyll::Hooks.register :site, :post_write do |site| - dest = site.config["destination"] - File.rename "#{dest}/feed/index", "#{dest}/feed/index.atom" -end