The Trans Directory
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: tag index page (#616)

authored by

Jimin Kim and committed by
GitHub
f0ec6c9b 9c88d596

+2 -2
+1 -1
quartz/components/pages/TagContent.tsx
··· 27 27 ? fileData.description 28 28 : htmlToJsx(fileData.filePath!, tree) 29 29 30 - if (tag === "") { 30 + if (tag === "/") { 31 31 const tags = [...new Set(allFiles.flatMap((data) => data.frontmatter?.tags ?? []))] 32 32 const tagItemMap: Map<string, QuartzPluginData[]> = new Map() 33 33 for (const tag of tags) {
+1 -1
quartz/plugins/emitters/tagPage.tsx
··· 45 45 46 46 const tagDescriptions: Record<string, ProcessedContent> = Object.fromEntries( 47 47 [...tags].map((tag) => { 48 - const title = tag === "" ? "Tag Index" : `Tag: #${tag}` 48 + const title = tag === "index" ? "Tag Index" : `Tag: #${tag}` 49 49 return [ 50 50 tag, 51 51 defaultProcessedContent({