diff --git a/quartz.layout.ts b/quartz.layout.ts index d0b35835..adde2679 100644 --- a/quartz.layout.ts +++ b/quartz.layout.ts @@ -36,9 +36,6 @@ export const defaultContentPageLayout: PageLayout = { Component.Backlinks(), Component.Giscus(), ], - footer: [ - Component.Giscus(), - ], } // components for pages that display lists of pages (e.g. tags or folders) diff --git a/quartz/components/index.ts b/quartz/components/index.ts index 013e5813..eac52336 100644 --- a/quartz/components/index.ts +++ b/quartz/components/index.ts @@ -2,7 +2,6 @@ import Content from "./pages/Content" import TagContent from "./pages/TagContent" import FolderContent from "./pages/FolderContent" import NotFound from "./pages/404" -import Giscus from "./pages/Giscus" import ArticleTitle from "./ArticleTitle" import Darkmode from "./Darkmode" import Head from "./Head" @@ -20,6 +19,7 @@ import DesktopOnly from "./DesktopOnly" import MobileOnly from "./MobileOnly" import RecentNotes from "./RecentNotes" import Breadcrumbs from "./Breadcrumbs" +import Giscus from "./pages/Giscus" export {