feat: add giscus support (#92)

* feat: add giscus support #89

* Update comment.html

* Update giscus.html

* Update giscus.html

---------

Co-authored-by: Xin <xin@imfing.com>
This commit is contained in:
Jinuk Im
2023-09-27 04:47:22 +09:00
committed by GitHub
parent 3c4ede96df
commit 6a19ac31c0
7 changed files with 75 additions and 0 deletions

View File

@ -0,0 +1,8 @@
{{- $commentEnable := site.Params.comment.enable | default false -}}
{{- $commentPageEnable := .Params.comment | default true -}}
{{- if and $commentEnable $commentPageEnable -}}
{{- if eq site.Params.comment.type "giscus" -}}
{{ partial "components/giscus.html" . }}
{{- end -}}
{{- end -}}