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

View file

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

View file

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