mirror of
				https://github.com/alrayyes/wiki.git
				synced 2025-08-07 15:21:03 +00:00 
			
		
		
		
	fix: tag index page (#616)
This commit is contained in:
		
					parent
					
						
							
								9c88d5967f
							
						
					
				
			
			
				commit
				
					
						f0ec6c9b92
					
				
			
		
					 2 changed files with 2 additions and 2 deletions
				
			
		quartz/components/pages
| 
						 | 
				
			
			@ -27,7 +27,7 @@ function TagContent(props: QuartzComponentProps) {
 | 
			
		|||
      ? fileData.description
 | 
			
		||||
      : htmlToJsx(fileData.filePath!, tree)
 | 
			
		||||
 | 
			
		||||
  if (tag === "") {
 | 
			
		||||
  if (tag === "/") {
 | 
			
		||||
    const tags = [...new Set(allFiles.flatMap((data) => data.frontmatter?.tags ?? []))]
 | 
			
		||||
    const tagItemMap: Map<string, QuartzPluginData[]> = new Map()
 | 
			
		||||
    for (const tag of tags) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue