--- import MainGridLayout from "@layouts/MainGridLayout.astro"; import { getSortedPosts } from "@utils/content-utils"; import { formatDateToYYYYMMDD } from "@utils/date-utils"; import { Icon } from "astro-icon/components"; import I18nKey from "@/i18n/i18nKey"; import { i18n } from "@/i18n/translation"; const posts = await getSortedPosts(); const recentPosts = posts.slice(0, 6); ---

{i18n(I18nKey.rss)}

{i18n(I18nKey.rssSubtitle)}

{i18n(I18nKey.rssLink)}

{i18n(I18nKey.rssCopyToReader)}

{Astro.site}rss.xml

{i18n(I18nKey.rssLatestPosts)}

{recentPosts.map((post) => (

{post.data.title}

{post.data.description && (

{post.data.description}

)}
))}

{i18n(I18nKey.rssWhatIsRSS)}

{i18n(I18nKey.rssWhatIsRSSDescription)}

  • {i18n(I18nKey.rssBenefit1)}
  • {i18n(I18nKey.rssBenefit2)}
  • {i18n(I18nKey.rssBenefit3)}
  • {i18n(I18nKey.rssBenefit4)}

{i18n(I18nKey.rssHowToUse)}