Ben Schlegel
2023-09-16 f7029012dfb73ce04405bfe44e4e4d984818bf5f
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
@@ -33,8 +34,10 @@
  return (
    <div class="popover-hint">
      <article>{content}</article>
      <p>{allPagesInFolder.length} items under this folder.</p>
      <article>
        <p>{content}</p>
      </article>
      <p>{pluralize(allPagesInFolder.length, "item")} under this folder.</p>
      <div>
        <PageList {...listProps} />
      </div>