Add paige.comments.utterances.theme config

master
Will Faught 12 months ago
parent f353f1e61a
commit d9d09179a3

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

@ -2,7 +2,7 @@
{{ with $page.Param "paige.comments.utterances" }} {{ with $page.Param "paige.comments.utterances" }}
<div class="mb-3" id="paige-comments"> <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> <noscript>{{ i18n "paige_noscript" }}</noscript>
</div> </div>
{{ end }} {{ end }}

Loading…
Cancel
Save