Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAthanasia Monika Mowinckel <Athanasiamo@users.noreply.github.com>2021-12-19 04:43:37 +0300
committerGitHub <noreply@github.com>2021-12-19 04:43:37 +0300
commit8c3c9cedd0724cc5909260a8914d19ec2cc65b0e (patch)
tree43761ecce20098811c5d0151c61ed15e4951202e /exampleSite
parent067768c63d3663ec752ab5185dc35a3f01b308cb (diff)
Add option for giscus comment section (#309)
* add giscus option * add giscus options to config.toml * rm quotes around hugo code
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml15
1 files changed, 15 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index dff6c62..47bf28d 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -35,6 +35,21 @@ DefaultContentLanguage = "en" # Default language fo
facebook = true
pinterest = true
+ # To enable giscus, the github discussions based comment section,
+ # Follow the steps described to enable giscus and get the values
+ # needed to populate the below information.
+ # https://www.joelnitta.com/posts/2021-11-24_using-giscus/
+ [params.giscus]
+ # repo = "github-user/github-repo" # Entering repo will enable giscus
+ repo-id = "enter-repo-id"
+ category = "Comments"
+ category-id = "enter-category-id"
+ mapping = "pathname"
+ reactions-enabled = "1"
+ emit-metadata = "0"
+ theme = "light"
+ lang = "en"
+
# Social icons appear in introduction and contact section. Add as many more as you like.
# Icon pack "fab" includes social network icons, see: https://fontawesome.com/icons?d=gallery&s=brands&m=free
# Icon pack "fas" includes solid style icons, see: https://fontawesome.com/icons?d=gallery&s=solid&m=free