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

github.com/hossainemruz/toha.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Ray <rihoj1@gmail.com>2022-02-28 20:45:03 +0300
committerGitHub <noreply@github.com>2022-02-28 20:45:03 +0300
commit711d4c774923a3134e3f3164d45c994e07c8afc3 (patch)
treebd43bd3c157f898f3337bcde9657a1432aee50db /layouts/_default/single.html
parent56e1bc5a69e855bfd2a842ca63e1368e2989c1f6 (diff)
Support commenting using `giscus` (#543)
* add giscus * update theme default to light update category default to General
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index a417869..3ad7d5f 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -168,6 +168,9 @@
<!-- Add utteranc -->
{{ else if .utteranc }}
{{ partial "utteranc.html" . }}
+ <!-- Add giscus -->
+ {{ else if .giscus }}
+ {{ partial "giscus.html" . }}
{{ end }}
{{ end }}
{{ end }}