Skip to content

Commit

Permalink
fetch giscus discussion config items by github graphql
Browse files Browse the repository at this point in the history
  • Loading branch information
xwi88 committed May 26, 2022
1 parent f7569b4 commit 2eb8d96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions content/posts/hugo-plugin-giscus-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
url: "hugo-plugin-giscus-support"
title: "Hugo Plugin Giscus Support"
date: 2022-03-07T23:46:10+08:00
lastmod: 2022-04-22T18:00:00+08:00
lastmod: 2022-05-26T08:20:00+08:00
draft: false

description: "Hugo 评论插件 giscus 的集成与支持"
tags: ["hugo-plugin"]
tags: ["hugo-plugin", "github"]
categories: ["hugo"]

toc:
Expand Down Expand Up @@ -76,6 +76,8 @@ Hugo 评论插件用了几个感觉好用的还是 **utterances** 与 **giscus**
- **category** 一般为 **Announcements**, 或者根据需要选择其他的,务必保证与 **category-id** 一致!
- *mapping* 根据你的需要填写,一般选择 **pathname**

![github-graphql-discussion-query](/images/screen_img/github-graphql-discussion.png "github graphql discussion query")

>经过以上步骤,我们就可以轻松的使用此插件了,但是如果要将其嵌入到当前使用的模板中还需要做一些特殊的处理。
### 主题修改支持 **giscus**
Expand Down

0 comments on commit 2eb8d96

Please sign in to comment.