From 413b06bb8a893b89206b5238dbb0a448f2fd5789 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Sun, 7 Jan 2024 10:26:45 -0500 Subject: [PATCH] Fix utterances auto theme --- layouts/partials/comments/utterances.html | 44 +++++++++++++---------- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/layouts/partials/comments/utterances.html b/layouts/partials/comments/utterances.html index f613495e..8e9f8023 100644 --- a/layouts/partials/comments/utterances.html +++ b/layouts/partials/comments/utterances.html @@ -1,23 +1,29 @@ -{{- $scriptSrc := "https://utteranc.es/client.js" -}} - -{{- $issueTerm := .Page.Site.Params.comments.utterances.issueTerm -}} -{{- $label := .Page.Site.Params.comments.utterances.label -}} -{{- $username := .Page.Site.Params.comments.utterances.github.username -}} -{{- $repository := .Page.Site.Params.comments.utterances.github.repository -}} +{{- $scriptSrc := "https://utteranc.es/client.js" -}} {{- $issueTerm := +.Page.Site.Params.comments.utterances.issueTerm -}} {{- $label := +.Page.Site.Params.comments.utterances.label -}} {{- $username := +.Page.Site.Params.comments.utterances.github.username -}} {{- $repository := +.Page.Site.Params.comments.utterances.github.repository -}}