From d1368d091312d4aeb45f208fe590d10faff1075e Mon Sep 17 00:00:00 2001 From: infoseek Date: Tue, 16 Jan 2024 10:13:30 +0800 Subject: [PATCH] vault backup: 2024-01-16 10:13:30 Affected files: quartz.layout.ts quartz/components/index.ts --- quartz.layout.ts | 3 --- quartz/components/index.ts | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) 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 {