2023-12-31 22:16:02 +00:00
|
|
|
{{ if isset site.Params "giscusrepo" }}
|
2023-08-21 21:42:59 +00:00
|
|
|
<div class="post_comments">
|
2023-12-31 21:29:58 +00:00
|
|
|
<script src="https://giscus.runtimeterror.dev/client.js"
|
|
|
|
data-repo="{{ .Site.Params.giscusRepo }}"
|
|
|
|
data-repo-id="{{ .Site.Params.giscusRepoId }}"
|
|
|
|
data-category="{{ .Site.Params.giscusCategory }}"
|
|
|
|
data-category-id="{{ .Site.Params.giscusCategoryId }}"
|
|
|
|
data-mapping="{{ .Site.Params.giscusMapping }}"
|
|
|
|
data-strict="{{ .Site.Params.giscusStrict }}"
|
|
|
|
data-reactions-enabled="{{ .Site.Params.giscusReactions }}"
|
|
|
|
data-emit-metadata="{{ .Site.Params.giscusEmitMetadata }}"
|
|
|
|
data-input-position="{{ .Site.Params.giscusInputPosition }}"
|
|
|
|
data-theme="{{ .Site.Params.giscusTheme }}"
|
|
|
|
data-lang="{{ .Site.Params.giscusLang }}"
|
|
|
|
data-loading="{{ .Site.Params.giscusLoading }}"
|
|
|
|
crossorigin="{{ .Site.Params.giscusCrossOrigin }}"
|
|
|
|
async>
|
2023-08-21 21:42:59 +00:00
|
|
|
</script>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|