From bb23824ab3c4892bdf10a94288458d9967c5a1d2 Mon Sep 17 00:00:00 2001 From: Suryaansh Rai <102371942+suryaanshrai@users.noreply.github.com> Date: Sat, 17 Jan 2026 22:35:45 +0530 Subject: [PATCH] Update quartz/plugins/emitters/contentIndex.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- quartz/plugins/emitters/contentIndex.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/quartz/plugins/emitters/contentIndex.tsx b/quartz/plugins/emitters/contentIndex.tsx index a40bcd3b1..0215c2048 100644 --- a/quartz/plugins/emitters/contentIndex.tsx +++ b/quartz/plugins/emitters/contentIndex.tsx @@ -172,6 +172,16 @@ export const ContentIndex: QuartzEmitterPlugin> = (opts) => { .map(([tag]) => tag) } + if ( + sortedTags.length === 0 && + (!opts.rssTags || opts.rssTags.length === 0) && + (opts.rssTagsLimit ?? 0) <= 0 + ) { + console.warn( + "[contentIndex] includeTags is enabled, but no tag-based RSS feeds will be generated. " + + "Either provide non-empty `rssTags` or set `rssTagsLimit` to a positive number.", + ) + } for (const tag of sortedTags) { const tagFilteredIndex = new Map( Array.from(linkIndex).filter(([_, content]) => {