mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 20:13:31 +08:00
gittalk config Fixed
This commit is contained in:
parent
a004050c3b
commit
f1e16cea59
BIN
layouts/.DS_Store
vendored
BIN
layouts/.DS_Store
vendored
Binary file not shown.
BIN
layouts/partials/.DS_Store
vendored
BIN
layouts/partials/.DS_Store
vendored
Binary file not shown.
BIN
layouts/partials/comments/.DS_Store
vendored
BIN
layouts/partials/comments/.DS_Store
vendored
Binary file not shown.
@ -5,11 +5,11 @@
|
||||
<script src="https://unpkg.com/gitalk/dist/gitalk.min.js"></script>
|
||||
<script>
|
||||
const gitalk = new Gitalk({
|
||||
clientID: '{{ .clientID }}',
|
||||
clientSecret: '{{ .clientSecret }}',
|
||||
repo: '{{ .Gitalk.repo }}',
|
||||
owner: '{{ .owner }}',
|
||||
admin: ['{{ .owner }}'],
|
||||
clientID: '{{- .clientID -}}',
|
||||
clientSecret: '{{- .clientSecret -}}',
|
||||
repo: '{{- .Gitalk.repo -}}',
|
||||
owner: '{{- .owner -}}',
|
||||
admin: ['{{- .owner -}}'],
|
||||
id: location.pathname, // Ensure uniqueness and length less than 50
|
||||
distractionFreeMode: false // Facebook-like distraction free mode
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user