Skip to content

Commit

Permalink
Fix param name, default to github-light
Browse files Browse the repository at this point in the history
  • Loading branch information
gamingrobot committed Nov 2, 2018
1 parent c6457cb commit 46a8c1c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/page-single/comment/utterances.html
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 46a8c1c

Please sign in to comment.