fix(contentIndex): respect rssSlug in head tags

This commit is contained in:
bfahrenfort 2025-03-06 15:22:34 -06:00
parent 14316557ab
commit 7b90d4feb1

View File

@ -298,7 +298,7 @@ export const ContentIndex: QuartzEmitterPlugin<Partial<Options>> = (opts) => {
rel="alternate"
type="application/rss+xml"
title="RSS Feed"
href={`https://${ctx.cfg.configuration.baseUrl}/index.xml`}
href={`https://${ctx.cfg.configuration.baseUrl}/${opts.rssSlug!}.xml`}
/>,
],
}