gittalk config Fixed

This commit is contained in:
Cookiekira 2021-09-12 20:58:39 +08:00
parent a004050c3b
commit f1e16cea59
5 changed files with 5 additions and 5 deletions

BIN
.DS_Store vendored

Binary file not shown.

BIN
layouts/.DS_Store vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -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
});