diff --git a/quartz/components/pages/FolderContent.tsx b/quartz/components/pages/FolderContent.tsx index 436ed91fe..47fb02f1b 100644 --- a/quartz/components/pages/FolderContent.tsx +++ b/quartz/components/pages/FolderContent.tsx @@ -50,11 +50,13 @@ export default ((opts?: Partial) => {

{content}

- {options.showFolderCount && ( -

{pluralize(allPagesInFolder.length, "item")} under this folder.

- )} -
- +
+ {options.showFolderCount && ( +

{pluralize(allPagesInFolder.length, "item")} under this folder.

+ )} +
+ +
) diff --git a/quartz/components/pages/TagContent.tsx b/quartz/components/pages/TagContent.tsx index 50507461d..ec30c5ff9 100644 --- a/quartz/components/pages/TagContent.tsx +++ b/quartz/components/pages/TagContent.tsx @@ -62,11 +62,13 @@ function TagContent(props: QuartzComponentProps) { {content &&

{content}

} -

- {pluralize(pages.length, "item")} with this tag.{" "} - {pages.length > numPages && `Showing first ${numPages}.`} -

- +
+

+ {pluralize(pages.length, "item")} with this tag.{" "} + {pages.length > numPages && `Showing first ${numPages}.`} +

+ +
) })} @@ -83,9 +85,11 @@ function TagContent(props: QuartzComponentProps) { return (
{content}
-

{pluralize(pages.length, "item")} with this tag.

-
- +
+

{pluralize(pages.length, "item")} with this tag.

+
+ +
)