File tree 2 files changed +0
-2
lines changed
2 files changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ const BLOG = {
50
50
// giscus @see https://giscus.app/
51
51
COMMENT_GISCUS_REPO : process . env . NEXT_PUBLIC_COMMENT_GISCUS_REPO || '' , // 你的Github仓库名 e.g 'tangly1024/NotionNext'
52
52
COMMENT_GISCUS_REPO_ID : process . env . NEXT_PUBLIC_COMMENT_GISCUS_REPO_ID || '' , // 你的Github Repo ID e.g ( 設定完 giscus 即可看到 )
53
- COMMENT_GISCUS_CATEGORY : process . env . NEXT_PUBLIC_COMMENT_GISCUS_CATEGORY || '' , // 你的Github Discussions 內的 Category 名稱 e.g 'Comments'
54
53
COMMENT_GISCUS_CATEGORY_ID : process . env . NEXT_PUBLIC_COMMENT_GISCUS_CATEGORY_ID || '' , // 你的Github Discussions 內的 Category ID ( 設定完 giscus 即可看到 )
55
54
COMMENT_GISCUS_MAPPING : process . env . NEXT_PUBLIC_COMMENT_GISCUS_MAPPING || 'pathname' , // 你的Github Discussions 使用哪種方式來標定文章, 預設 'pathname'
56
55
COMMENT_GISCUS_REACTIONS_ENABLED : process . env . NEXT_PUBLIC_COMMENT_GISCUS_REACTIONS_ENABLED || '1' , // 你的 Giscus 是否開啟文章表情符號 '1' 開啟 "0" 關閉 預設開啟
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ const GiscusComponent = ({ isDarkMode }) => {
13
13
< Giscus
14
14
repo = { BLOG . COMMENT_GISCUS_REPO }
15
15
repoId = { BLOG . COMMENT_GISCUS_REPO_ID }
16
- category = { BLOG . COMMENT_GISCUS_CATEGORY }
17
16
categoryId = { BLOG . COMMENT_GISCUS_CATEGORY_ID }
18
17
mapping = { BLOG . COMMENT_GISCUS_MAPPING }
19
18
reactionsEnabled = { BLOG . COMMENT_GISCUS_REACTIONS_ENABLED }
You can’t perform that action at this time.
0 commit comments