mirror of
https://git.adityakumar.xyz/hugo-theme-even.git
synced 2024-11-09 14:59:45 +00:00
parent
d8a7dab116
commit
ceba71f0d5
2 changed files with 16 additions and 0 deletions
|
@ -136,6 +136,10 @@ copyright = "" # default: author.name ↓ # 默认为下面配
|
||||||
clientId = "" # Your client ID
|
clientId = "" # Your client ID
|
||||||
clientSecret = "" # Your client secret
|
clientSecret = "" # Your client secret
|
||||||
|
|
||||||
|
[params.utterances] # https://utteranc.es/
|
||||||
|
owner = "" # Your GitHub ID
|
||||||
|
repo = "" # The repo to store comments
|
||||||
|
|
||||||
[params.gitalk] # Gitalk is a comment system based on GitHub issues. see https://github.com/gitalk/gitalk
|
[params.gitalk] # Gitalk is a comment system based on GitHub issues. see https://github.com/gitalk/gitalk
|
||||||
owner = "" # Your GitHub ID
|
owner = "" # Your GitHub ID
|
||||||
repo = "" # The repo to store comments
|
repo = "" # The repo to store comments
|
||||||
|
|
|
@ -123,4 +123,16 @@
|
||||||
</script>
|
</script>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
<!-- utterances -->
|
||||||
|
{{- if .Site.Params.utterances.owner}}
|
||||||
|
<script src="https://utteranc.es/client.js"
|
||||||
|
repo="{{ .Site.Params.utterances.owner }}/{{ .Site.Params.utterances.repo }}"
|
||||||
|
issue-term="pathname"
|
||||||
|
theme="github-light"
|
||||||
|
crossorigin="anonymous"
|
||||||
|
async>
|
||||||
|
</script>
|
||||||
|
<noscript>Please enable JavaScript to view the <a href="https://github.com/utterance">comments powered by utterances.</a></noscript>
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue