fix: use joinSegments for contentIndex.json file path (#702)
				
					
				
			This commit is contained in:
		@@ -133,7 +133,7 @@ export const ContentIndex: QuartzEmitterPlugin<Partial<Options>> = (opts) => {
 | 
			
		||||
        )
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      const fp = path.join("static", "contentIndex") as FullSlug
 | 
			
		||||
      const fp = joinSegments("static", "contentIndex") as FullSlug
 | 
			
		||||
      const simplifiedIndex = Object.fromEntries(
 | 
			
		||||
        Array.from(linkIndex).map(([slug, content]) => {
 | 
			
		||||
          // remove description and from content index as nothing downstream
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user