mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-20 19:34:05 -06:00
fix(contentIndex): respect rssSlug in head tags
This commit is contained in:
parent
14316557ab
commit
7b90d4feb1
@ -298,7 +298,7 @@ export const ContentIndex: QuartzEmitterPlugin<Partial<Options>> = (opts) => {
|
|||||||
rel="alternate"
|
rel="alternate"
|
||||||
type="application/rss+xml"
|
type="application/rss+xml"
|
||||||
title="RSS Feed"
|
title="RSS Feed"
|
||||||
href={`https://${ctx.cfg.configuration.baseUrl}/index.xml`}
|
href={`https://${ctx.cfg.configuration.baseUrl}/${opts.rssSlug!}.xml`}
|
||||||
/>,
|
/>,
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user