diff --git a/website/src/.vitepress/config/hooks/generateFeed.ts b/website/src/.vitepress/config/hooks/generateFeed.ts index a3412ede..5491bb84 100644 --- a/website/src/.vitepress/config/hooks/generateFeed.ts +++ b/website/src/.vitepress/config/hooks/generateFeed.ts @@ -38,6 +38,7 @@ async function generateFeed(config: SiteConfig, hostname: string) { const markdown = (src ?? "") .replace(/^---.*---/s, "") .replace(/]\((\/.*?)\)/g, `](${hostname}$1)`) + .replace(/^# .*$/m, "") .trim() const post = {