feat: replace RSS handling

This replaces the RSS hack with a custom helper that replaces MDX components manually.
This commit is contained in:
Stefan Imhoff
2026-01-25 17:18:36 +01:00
committed by Stefan Imhoff
parent f4e41cb807
commit ceadc30005
17 changed files with 714 additions and 152 deletions

View File

@@ -13,13 +13,6 @@ import PageTitle from '../components/PageTitle.astro';
import Image from '../components/Image.astro';
import JournalList from '../components/JournalList.astro';
/* FIXME: Remove hack as soon as this issue is resolved:
* Issue: https://github.com/withastro/roadmap/issues/533
* Proposal: https://github.com/withastro/roadmap/discussions/419
*/
import WriteFile from '../components/WriteFile.astro';
import RssXml from '../components/RssXml.astro';
import Headline from '../components/Headline.astro';
import MoreLink from '../components/MoreLink.astro';
@@ -92,7 +85,3 @@ rssPosts.sort(sortMarkdownByDate);
<JournalList entries={formattedLatest} />
</article>
</GridLayout>
<WriteFile slot="rss-writer">
<RssXml allPosts={isProduction ? rssPosts : []} slot="rss-writer" />
</WriteFile>