quartz/components/pages/FolderContent.tsx
@@ -7,6 +7,7 @@ import { PageList } from "../PageList" import { _stripSlashes, simplifySlug } from "../../util/path" import { Root } from "hast" import { pluralize } from "../../util/lang" function FolderContent(props: QuartzComponentProps) { const { tree, fileData, allFiles } = props @@ -36,7 +37,7 @@ <article> <p>{content}</p> </article> <p>{allPagesInFolder.length} items under this folder.</p> <p>{pluralize(allPagesInFolder.length, "item")} under this folder.</p> <div> <PageList {...listProps} /> </div>