Jinuk Im 6a19ac31c0
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>
2023-09-26 20:47:22 +01:00

9 lines
301 B
HTML

{{- $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 -}}