mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 20:15:27 +00:00
feat: replace RSS handling
This replaces the RSS hack with a custom helper that replaces MDX components manually.
This commit is contained in:
committed by
Stefan Imhoff
parent
f4e41cb807
commit
ceadc30005
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user