diff --git a/quartz/components/PageList.tsx b/quartz/components/PageList.tsx index c0538f5fa..e2422c90d 100644 --- a/quartz/components/PageList.tsx +++ b/quartz/components/PageList.tsx @@ -42,6 +42,8 @@ export const PageList: QuartzComponent = ({ cfg, fileData, allFiles, limit, sort {list.map((page) => { const title = page.frontmatter?.title const tags = page.frontmatter?.tags ?? [] + const isFolder = tags.includes("folder") + const href = resolveRelative(fileData.slug!, page.slug!) + (isFolder ? "/" : "") return (