mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-02-04 06:25:41 -06:00
Update quartz/plugins/emitters/contentIndex.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
d80a863a77
commit
1d1c1f1ca9
@ -157,7 +157,7 @@ export const ContentIndex: QuartzEmitterPlugin<Partial<Options>> = (opts) => {
|
||||
} else if ((opts.rssTagsLimit ?? 0) > 0) {
|
||||
const tagCounts: Map<string, number> = new Map()
|
||||
|
||||
// Count tags from all non-empty files (unless includeEmptyFiles is true)
|
||||
// Count tag occurrences across all files in the index
|
||||
for (const [_, content] of linkIndex) {
|
||||
const tags = content.tags.flatMap(getAllSegmentPrefixes)
|
||||
for (const tag of new Set(tags)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user