add giscus comment
parent
bba67187e8
commit
aeac84d2e6
@ -0,0 +1,11 @@
|
||||
<!-- This partial can be replaced to support other commenting engines -->
|
||||
{{ if site.Params.comments.giscus }}
|
||||
<script src="https://giscus.app/client.js" data-repo="{{site.Params.comments.giscus.repo}}"
|
||||
data-repo-id="{{site.Params.comments.giscus.repo_id}}" data-category="{{site.Params.comments.giscus.category}}"
|
||||
data-category-id="{{site.Params.comments.giscus.category_id}}"
|
||||
data-mapping="{{site.Params.comments.giscus.mapping}}" data-strict="0" data-emit-metadata="0"
|
||||
data-input-position="bottom" data-reactions-enabled="{{site.Params.comments.giscus.reactions_enabled}}"
|
||||
data-lang="zh-CN" data-theme="{{site.Params.comments.giscus.theme}}" crossorigin="anonymous" async>
|
||||
</script>
|
||||
<noscript>Please enable JavaScript to view the comments powered by giscus.</noscript>
|
||||
{{ end }}
|
Loading…
Reference in New Issue