fixes for loading giscus comments

This commit is contained in:
John Bowdre 2023-12-31 16:16:02 -06:00
parent 787b716e75
commit 9d5f03ca14
3 changed files with 8 additions and 11 deletions

View file

@ -8,16 +8,8 @@ numberOfRelatedPosts = 5
indexTitle = ".-. ..- -. - .. -- . - . .-. .-. --- .-."
[author]
name = "John Bowdre"
email = "jbowdre@omg.lol"
username = "jbowdre"
# Comments
comments = true
utterancesRepo = "jbowdre/site-comments"
utterancesIssueTerm = "og:title"
utterancesTheme = "gruvbox-dark"
giscusCategory = "Announcements"
giscusCategoryId = "DIC_kwDOKKEGD84CcG89"
giscusCrossOrigin = "anonymous"
@ -30,10 +22,15 @@ giscusReactions = "1"
giscusRepo = "jbowdre/site-comments"
giscusRepoId = "R_kgDOKKEGDw"
giscusStrict = "0"
giscusTheme = "dark"
giscusTheme = "noborder_gray"
analytics = true
[author]
name = "John Bowdre"
email = "jbowdre@omg.lol"
username = "jbowdre"
[theme]
palette = "runtimeterror"

View file

@ -1,2 +1,2 @@
comments = true
comments = false
analytics = false

View file

@ -1,4 +1,4 @@
{{ if .Site.Params.giscusRepo }}
{{ if isset site.Params "giscusrepo" }}
<br>
<div class="post_comments">
<script src="https://giscus.runtimeterror.dev/client.js"