Add paige.comments.utterances.theme config

This commit is contained in:
Will Faught
2024-07-20 12:26:16 -07:00
parent f353f1e61a
commit d9d09179a3
2 changed files with 2 additions and 1 deletions

View File

@@ -277,6 +277,7 @@ site = ""
[paige.comments.utterances] # See https://utteranc.es
repo = ""
theme = ""
[paige.feed]
disable = false # Exclude the page from feeds

View File

@@ -2,7 +2,7 @@
{{ with $page.Param "paige.comments.utterances" }}
<div class="mb-3" id="paige-comments">
<script async crossorigin="anonymous" issue-term="pathname" repo="{{ .repo }}" src="https://utteranc.es/client.js" theme="preferred-color-scheme"></script>
<script async crossorigin="anonymous" issue-term="pathname" repo="{{ .repo }}" src="https://utteranc.es/client.js" theme="{{ .theme }}"></script>
<noscript>{{ i18n "paige_noscript" }}</noscript>
</div>
{{ end }}