aboutsummaryrefslogtreecommitdiffstats
path: root/next.config.js
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2023-11-30 13:12:45 +0100
committerArmand Philippot <git@armandphilippot.com>2023-11-30 14:54:06 +0100
commitf7e6f42216c3cbeab9add475a61bb407c6be3519 (patch)
tree6c02d5aaaf794af1e1aadd2e3b46aac5b2c57b93 /next.config.js
parent9c6265b33a7bb31936e3c9d6dcf415e11a6db752 (diff)
refactor(pages): refine RSS feed
* add favicon * add item categories * add item image * add item author * add item update date (it seems `date` is used as update date by Feed) * change copyright format * fix ESlint errors * fix atom and json links
Diffstat (limited to 'next.config.js')
-rw-r--r--next.config.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/next.config.js b/next.config.js
index 82f4fe4..fada5f4 100644
--- a/next.config.js
+++ b/next.config.js
@@ -115,6 +115,11 @@ const nextConfig = {
destination: '/feed.xml',
permanent: true,
},
+ {
+ source: '/feed/atom',
+ destination: '/atom.xml',
+ permanent: true,
+ },
];
},
sassOptions: {