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

github.com/htr3n/hyde-hyde.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorgan Creekmore <morgan@creekmore.email>2018-11-02 07:03:08 +0300
committerMorgan Creekmore <morgan@creekmore.email>2018-11-02 07:03:08 +0300
commit11649d851c7b644fbfeba0de54b5ddd281c1c57b (patch)
tree9cc3fdeae6a2619b51df655e946767ac29a387c6
parentc5139fca2654a9d1a9909952eb5797a6f0b2f7fb (diff)
Fix param name, default to github-light
-rw-r--r--README.md2
-rw-r--r--exampleSite/config.toml2
-rw-r--r--layouts/partials/page-single/comment/utterances.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 53e6a24..7ef8bf4 100644
--- a/README.md
+++ b/README.md
@@ -70,7 +70,7 @@ __`Hyde-hyde`__ essentially inherits most of Hyde's [options](https://github.com
* `UtterancesRepo = "your-repo-name"`: to use [Utterances](https://utteranc.es/) instead of the built-in [Disqus](https://disqus.com). This option should be used exclusively with `disqusShortname = "disqus-shortname"`.
* `UtterancesIssueTerm = "pathname"` Method for Utterances to match issue's to posts (pathname, url, title, og:title)
- * `UtterancesIssueTheme = "github-light"` Theme for Utterances (github-light, github-dark)
+ * `UtterancesTheme = "github-light"` Theme for Utterances (github-light, github-dark)
* `[params.social]`: in this section, you can set many social identities such as Twitter, Facebook, Github, Bitbucket, Gitlab, Instagram, LinkedIn, StackOverflow, Medium, Xing, Keybase.
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index f9b0b67..d0412d2 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -27,7 +27,7 @@ theme = "hyde-hyde"
#GraphCommentId = "..."
#UtterancesRepo = "..." # https://utteranc.es/
#UtterancesIssueTerm = "..." # pathname, url, title, og:title
- #UtterancesIssueTheme = "..." # github-light or github-dark
+ #UtterancesTheme = "..." # github-light or github-dark
# Table of contents
#toc = none, "hugo", or "tocbot"
diff --git a/layouts/partials/page-single/comment/utterances.html b/layouts/partials/page-single/comment/utterances.html
index 9fd1348..008998e 100644
--- a/layouts/partials/page-single/comment/utterances.html
+++ b/layouts/partials/page-single/comment/utterances.html
@@ -1,7 +1,7 @@
<script src="https://utteranc.es/client.js"
repo="{{ .Site.Params.UtterancesRepo }}"
issue-term="{{ .Site.Params.UtterancesIssueTerm }}"
- theme="{{ .Site.Params.UtterancesIssueTheme }}"
+ theme="{{ with .Site.Params.UtterancesTheme }}{{ . }}{{else}}github-light{{ end }}"
crossorigin="anonymous"
async>
</script> \ No newline at end of file