feat: add [giscus](https://giscus.app) comment

This commit is contained in:
DejavuMoe 2022-04-01 17:59:38 +08:00
parent 62bb791808
commit f21e410efd
No known key found for this signature in database
GPG key ID: AB85E2D677CA9A84
2 changed files with 31 additions and 0 deletions

View file

@ -69,6 +69,21 @@ issueTerm = "pathname"
server = ""
placeholder = ""
# Giscus configuration
# Full doc's at https://giscus.app/
[params.giscus]
enable = false #
data_repo="[ENTER REPO HERE]"
data_repo_id="[ENTER REPO ID HERE]"
data_category="[ENTER CATEGORY NAME HERE]"
data_category_id="[ENTER CATEGORY ID HERE]"
data_mapping="pathname"
data_reactions_enabled="1"
data_emit_metadata="0"
data_theme="light"
data-loading="lazy"
data_lang="en"
crossorigin="anonymous"
# Params.social is an array containing your social network accounts,
# Each has a lowercase name, a svg formatted icon and a url to the