mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-20 11:24: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"
|
||||
type="application/rss+xml"
|
||||
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