Skip to content

Commit 01245f8

Browse files
committed
feat(docs): Add giscus comment system
Signed-off-by: Khusika Dhamar Gusti <[email protected]>
1 parent 8e47be6 commit 01245f8

File tree

6 files changed

+45
-0
lines changed

6 files changed

+45
-0
lines changed

exampleSite/content/about/index.en.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ math:
5050
* :(fa-solid fa-share-square fa-fw): Up to **28** share sites supported
5151
* :(fa-regular fa-comment fa-fw): **Disqus** comment system supported by [Disqus](https://disqus.com)
5252
* :(fa-regular fa-comment-dots fa-fw): **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)
53+
* :(fa-solid fa-comment-dots fa-fw): **Giscus** comment system supported by [Giscus](https://giscus.app/)
5354
* :(fa-regular fa-comment-alt fa-fw): **Valine** comment system supported by [Valine](https://valine.js.org/)
5455
* :(fa-solid fa-comments fa-fw): **Vssue** comment system supported by [Vssue](https://vssue.js.org/)
5556
* :(fa-regular fa-comments fa-fw): **Facebook comments** system supported by [Facebook](https://developers.facebook.com/docs/plugins/comments/)

exampleSite/content/about/index.fr.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ Welcome to take the time to propose a translation by [:(fa-solid fa-code-branch
5555
* :(fa-solid fa-share-square fa-fw): Up to **28** share sites supported
5656
* :(fa-regular fa-comment fa-fw): **Disqus** comment system supported by [Disqus](https://disqus.com)
5757
* :(fa-regular fa-comment-dots fa-fw): **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)
58+
* :(fa-solid fa-comment-dots fa-fw): **Giscus** comment system supported by [Giscus](https://giscus.app/)
5859
* :(fa-regular fa-comment-alt fa-fw): **Valine** comment system supported by [Valine](https://valine.js.org/)
5960
* :(fa-regular fa-comments fa-fw): **Facebook comments** system supported by [Facebook](https://developers.facebook.com/docs/plugins/comments/)
6061
* :(fa-solid fa-comment fa-fw): **Telegram comments** system supported by [Comments](https://comments.app/)

exampleSite/content/about/index.zh-cn.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ math:
5050
* :(fa-solid fa-share-square fa-fw): 支持多达 **28** 种网站分享
5151
* :(fa-regular fa-comment fa-fw): 支持 **[Disqus](https://disqus.com)** 评论系统
5252
* :(fa-regular fa-comment-dots fa-fw): 支持 **[Gitalk](https://github.com/gitalk/gitalk)** 评论系统
53+
* :(fa-solid fa-comment-dots fa-fw): 支持 **[Giscus](https://giscus.app/)** 评论系统
5354
* :(fa-regular fa-comment-alt fa-fw): 支持 **[Valine](https://valine.js.org/)** 评论系统
5455
* :(fa-solid fa-comments fa-fw): 支持 **[Vssue](https://vssue.js.org/)** 评论系统
5556
* :(fa-regular fa-comments fa-fw): 支持 **[Facebook](https://developers.facebook.com/docs/plugins/comments/) 评论**系统

exampleSite/content/posts/theme-documentation-basics/index.en.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,20 @@ Please open the code block below to view the complete sample configuration :(fa-
640640
label = ""
641641
lightTheme = "github-light"
642642
darkTheme = "github-dark"
643+
# {{< version 1.0.3 >}} {{< link "https://giscus.app/" "Giscus" >}} comment config
644+
# Giscus comment config (https://giscus.app/)
645+
[params.page.comment.giscus]
646+
enable = false
647+
repo = ""
648+
repoId = ""
649+
category = ""
650+
categoryId = ""
651+
mapping = ""
652+
reactionsEnabled = "1"
653+
emitMetadata = "0"
654+
inputPosition = "bottom"
655+
lightTheme = "light"
656+
darkTheme = "dark"
643657
# {{< version 0.2.7 >}} Third-party library config
644658
[params.page.library]
645659
[params.page.library.css]

exampleSite/content/posts/theme-documentation-basics/index.fr.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -645,6 +645,20 @@ Please open the code block below to view the complete sample configuration :(fa-
645645
label = ""
646646
lightTheme = "github-light"
647647
darkTheme = "github-dark"
648+
# {{< version 1.0.3 >}} {{< link "https://giscus.app/" "Giscus" >}} comment config
649+
# Giscus comment config (https://giscus.app/)
650+
[params.page.comment.giscus]
651+
enable = false
652+
repo = ""
653+
repoId = ""
654+
category = ""
655+
categoryId = ""
656+
mapping = ""
657+
reactionsEnabled = "1"
658+
emitMetadata = "0"
659+
inputPosition = "bottom"
660+
lightTheme = "light"
661+
darkTheme = "dark"
648662
# {{< version 0.2.7 >}} Third-party library config
649663
[params.page.library]
650664
[params.page.library.css]

exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,20 @@ hugo
644644
label = ""
645645
lightTheme = "github-light"
646646
darkTheme = "github-dark"
647+
# {{< version 1.0.3 >}} {{< link "https://giscus.app/" "Giscus" >}} 评论系统设置
648+
# Giscus 评论系统设置 (https://giscus.app/)
649+
[params.page.comment.giscus]
650+
enable = false
651+
repo = ""
652+
repoId = ""
653+
category = ""
654+
categoryId = ""
655+
mapping = ""
656+
reactionsEnabled = "1"
657+
emitMetadata = "0"
658+
inputPosition = "bottom"
659+
lightTheme = "light"
660+
darkTheme = "dark"
647661
# {{< version 0.2.7 >}} 第三方库配置
648662
[params.page.library]
649663
[params.page.library.css]

0 commit comments

Comments
 (0)