From bc543f81d9ada5e61cb9690834a5f83c02997d63 Mon Sep 17 00:00:00 2001
From: Hrishikesh Barman <geekodour@users.noreply.github.com>
Date: Sat, 26 Aug 2023 05:52:23 +0000
Subject: [PATCH] feat(plugins): add OxHugoFlavouredMarkdown (#419)
---
quartz/components/pages/FolderContent.tsx | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/quartz/components/pages/FolderContent.tsx b/quartz/components/pages/FolderContent.tsx
index 1528aea..dc076c4 100644
--- a/quartz/components/pages/FolderContent.tsx
+++ b/quartz/components/pages/FolderContent.tsx
@@ -12,7 +12,7 @@
const { tree, fileData, allFiles } = props
const folderSlug = _stripSlashes(simplifySlug(fileData.slug!))
const allPagesInFolder = allFiles.filter((file) => {
- const fileSlug = simplifySlug(file.slug!)
+ const fileSlug = _stripSlashes(simplifySlug(file.slug!))
const prefixed = fileSlug.startsWith(folderSlug) && fileSlug !== folderSlug
const folderParts = folderSlug.split(path.posix.sep)
const fileParts = fileSlug.split(path.posix.sep)
@@ -33,7 +33,9 @@
return (
<div class="popover-hint">
- <article>{content}</article>
+ <article>
+ <p>{content}</p>
+ </article>
<p>{allPagesInFolder.length} items under this folder.</p>
<div>
<PageList {...listProps} />
--
Gitblit v1.10.0