Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/funkydan2/hugo-kiera.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiwhun Kim <jiwhun.kim@outlook.com>2019-12-29 13:45:35 +0300
committerJiwhun Kim <jiwhun.kim@outlook.com>2019-12-29 13:45:35 +0300
commitc5d44cf4e14ba3e8583a7ae7c28a0f176a5092f6 (patch)
tree378832687591771ee3d6cf60112cc6c17b0c2e7d /layouts
parent7e4c91032171e02cba51c5a6db1dbe24041e3c34 (diff)
support params theme
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/utterances.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/utterances.html b/layouts/partials/utterances.html
index 76ec411..edf5d46 100644
--- a/layouts/partials/utterances.html
+++ b/layouts/partials/utterances.html
@@ -5,7 +5,7 @@
s.setAttribute("repo", "{{ .Site.Params.UtterancesRepo }}");
s.src = "https://utteranc.es/client.js";
s.setAttribute("issue-term", "{{ .Site.Params.UtterancesIssueTerm }}");
- s.setAttribute("theme", "github-dark")
+ s.setAttribute("theme", "{{ .Site.Params.UtterancesDarkTheme }}")
document.getElementById("utterances").innerHTML = "";
document.getElementById("utterances").appendChild(s);
} else {
@@ -13,7 +13,7 @@
s.setAttribute("repo", "{{ .Site.Params.UtterancesRepo }}");
s.src = "https://utteranc.es/client.js";
s.setAttribute("issue-term", "{{ .Site.Params.UtterancesIssueTerm }}");
- s.setAttribute("theme", "github-light")
+ s.setAttribute("theme", "{{ .Site.Params.UtterancesLightTheme }}")
document.getElementById("utterances").innerHTML = "";
document.getElementById("utterances").appendChild(s);
}