mirror of
https://github.com/jbowdre/virtuallypotato.git
synced 2024-11-25 00:12:18 +00:00
add utterances options as hugo params
This commit is contained in:
parent
484f3c2961
commit
8f0069d3dd
2 changed files with 8 additions and 3 deletions
|
@ -107,3 +107,8 @@ enable = false # To enable matomo analytics change to `true`.
|
||||||
websiteDomain = "example.com" # Set the domain name of your website, in most cases same as your base URL this is required.
|
websiteDomain = "example.com" # Set the domain name of your website, in most cases same as your base URL this is required.
|
||||||
matomoDomain = "matomo.example.com" # Set to Matomo domain
|
matomoDomain = "matomo.example.com" # Set to Matomo domain
|
||||||
matomoSiteID = "1" # Default is set to 1, change this to the siteid being tracked
|
matomoSiteID = "1" # Default is set to 1, change this to the siteid being tracked
|
||||||
|
|
||||||
|
[utterances]
|
||||||
|
repo="jbowdre/jbowdre.github.io" # owner/repo where github comments will happen
|
||||||
|
issueterm="title" # how will the issues be mapped to the articles
|
||||||
|
theme="icy-dark" # theme to be applied to comments box
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
{{ template "_internal/disqus.html" . }}
|
{{ template "_internal/disqus.html" . }}
|
||||||
<!-- add custom comments markup here -->
|
<!-- add custom comments markup here -->
|
||||||
<script src="https://utteranc.es/client.js"
|
<script src="https://utteranc.es/client.js"
|
||||||
repo="jbowdre/jbowdre.github.io"
|
repo="{{ $.Site.Params.utterances.repo }}"
|
||||||
issue-term="title"
|
issue-term="{{ $.Site.Params.utterances.issueterm }}"
|
||||||
theme="github-dark"
|
theme="{{ $.Site.Params.utterances.theme }}"
|
||||||
crossorigin="anonymous"
|
crossorigin="anonymous"
|
||||||
async>
|
async>
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue