Fix param name, default to github-light
This commit is contained in:
parent
c5139fca26
commit
11649d851c
3 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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>
|
Loading…
Reference in a new issue