Fix param name, default to github-light

This commit is contained in:
Morgan Creekmore 2018-11-01 23:03:08 -05:00
parent c5139fca26
commit 11649d851c
No known key found for this signature in database
GPG key ID: 0A7464E68B129EB1
3 changed files with 3 additions and 3 deletions

View file

@ -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"`. * `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) * `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. * `[params.social]`: in this section, you can set many social identities such as Twitter, Facebook, Github, Bitbucket, Gitlab, Instagram, LinkedIn, StackOverflow, Medium, Xing, Keybase.

View file

@ -27,7 +27,7 @@ theme = "hyde-hyde"
#GraphCommentId = "..." #GraphCommentId = "..."
#UtterancesRepo = "..." # https://utteranc.es/ #UtterancesRepo = "..." # https://utteranc.es/
#UtterancesIssueTerm = "..." # pathname, url, title, og:title #UtterancesIssueTerm = "..." # pathname, url, title, og:title
#UtterancesIssueTheme = "..." # github-light or github-dark #UtterancesTheme = "..." # github-light or github-dark
# Table of contents # Table of contents
#toc = none, "hugo", or "tocbot" #toc = none, "hugo", or "tocbot"

View file

@ -1,7 +1,7 @@
<script src="https://utteranc.es/client.js" <script src="https://utteranc.es/client.js"
repo="{{ .Site.Params.UtterancesRepo }}" repo="{{ .Site.Params.UtterancesRepo }}"
issue-term="{{ .Site.Params.UtterancesIssueTerm }}" issue-term="{{ .Site.Params.UtterancesIssueTerm }}"
theme="{{ .Site.Params.UtterancesIssueTheme }}" theme="{{ with .Site.Params.UtterancesTheme }}{{ . }}{{else}}github-light{{ end }}"
crossorigin="anonymous" crossorigin="anonymous"
async> async>
</script> </script>