From 9c60f295edd64f3c53082f531a6e7369eeea7d3e Mon Sep 17 00:00:00 2001 From: wangzipai Date: Wed, 30 Oct 2024 15:16:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4giscus=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- quartz.layout.ts | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/quartz.layout.ts b/quartz.layout.ts index 741c0d551..88e7f6802 100644 --- a/quartz.layout.ts +++ b/quartz.layout.ts @@ -10,25 +10,13 @@ export const sharedPageComponents: SharedLayout = { Component.Comments({ provider: 'giscus', options: { - // from data-repo - repo: 'xxx', - // from data-repo-id - repoId: 'xxx', - // from data-category + repo: 'wangzipai/quartz', + repoId: 'R_kgDONHTeAQ', category: 'Announcements', - // from data-category-id - categoryId: 'xxx', - // how to map pages -> discussions - // defaults to 'url' + categoryId: 'DIC_kwDONHTeAc4Cj0YK', mapping: "pathname", - // use strict title matching - // defaults to true strict: false, - // whether to enable reactions for the main post - // defaults to true reactionsEnabled: true, - // where to put the comment input box relative to the comments - // defaults to 'bottom' inputPosition: "top", } }),