From 0af6607c09a8e27f786a2bd3b9a06687e451203e Mon Sep 17 00:00:00 2001 From: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com> Date: Sat, 9 Sep 2023 20:26:19 -0300 Subject: [PATCH] Fix RSS link. (#41) --- website/src/.vitepress/config/hooks/generateMeta.ts | 2 +- website/src/.vitepress/theme/components/RssLink.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/.vitepress/config/hooks/generateMeta.ts b/website/src/.vitepress/config/hooks/generateMeta.ts index 2b9f4ffb..76932924 100644 --- a/website/src/.vitepress/config/hooks/generateMeta.ts +++ b/website/src/.vitepress/config/hooks/generateMeta.ts @@ -111,7 +111,7 @@ function generateMeta(context: TransformContext, hostname: string) { rel: "alternate", type: "application/rss+xml", title: "RSS feed for the news archive", - href: `${hostname}/feed.xml`, + href: `${hostname}/feed.rss`, }, ]) head.push([ diff --git a/website/src/.vitepress/theme/components/RssLink.vue b/website/src/.vitepress/theme/components/RssLink.vue index f189f337..9cd49d6f 100644 --- a/website/src/.vitepress/theme/components/RssLink.vue +++ b/website/src/.vitepress/theme/components/RssLink.vue @@ -3,7 +3,7 @@ import { IconRssBox } from "@iconify-prerendered/vue-mdi"