mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-12-24 11:52:19 +00:00
Merge branch 'giscus'
This commit is contained in:
commit
f3161654d3
2 changed files with 29 additions and 10 deletions
|
@ -10,9 +10,19 @@ indexTitle = ".-. ..- -. - .. -- . - . .-. .-. --- .-."
|
|||
|
||||
# Comments
|
||||
comments = true
|
||||
utterancesRepo = "jbowdre/site-comments"
|
||||
utterancesIssueTerm = "og:title"
|
||||
utterancesTheme = "gruvbox-dark"
|
||||
giscusCategory = "Announcements"
|
||||
giscusCategoryId = "DIC_kwDOKKEGD84CcG89"
|
||||
giscusCrossOrigin = "anonymous"
|
||||
giscusEmitMetadata = "0"
|
||||
giscusInputPosition = "bottom"
|
||||
giscusLang = "en"
|
||||
giscusLoading = "lazy"
|
||||
giscusMapping = "og:title"
|
||||
giscusReactions = "1"
|
||||
giscusRepo = "jbowdre/site-comments"
|
||||
giscusRepoId = "R_kgDOKKEGDw"
|
||||
giscusStrict = "0"
|
||||
giscusTheme = "noborder_gray"
|
||||
|
||||
analytics = true
|
||||
|
||||
|
|
|
@ -1,12 +1,21 @@
|
|||
{{ if isset site.Params "utterancesrepo" }}
|
||||
{{ if isset site.Params "giscusrepo" }}
|
||||
<br>
|
||||
<div class="post_comments">
|
||||
<script src="https://utteranc.es/client.js"
|
||||
repo="{{.Site.Params.utterancesRepo}}"
|
||||
issue-term="{{.Site.Params.utterancesIssueTerm | default "pathname"}}"
|
||||
theme="{{.Site.Params.utterancesTheme | default "github-dark-orange"}}"
|
||||
crossorigin="anonymous"
|
||||
async>
|
||||
<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>
|
||||
</script>
|
||||
</div>
|
||||
{{ end }}
|
Loading…
Reference in a new issue