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.
|
||||
matomoDomain = "matomo.example.com" # Set to Matomo domain
|
||||
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" . }}
|
||||
<!-- add custom comments markup here -->
|
||||
<script src="https://utteranc.es/client.js"
|
||||
repo="jbowdre/jbowdre.github.io"
|
||||
issue-term="title"
|
||||
theme="github-dark"
|
||||
repo="{{ $.Site.Params.utterances.repo }}"
|
||||
issue-term="{{ $.Site.Params.utterances.issueterm }}"
|
||||
theme="{{ $.Site.Params.utterances.theme }}"
|
||||
crossorigin="anonymous"
|
||||
async>
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue