fix: broken comment
This commit is contained in:
parent
677808fa3d
commit
ba601cc9d9
1 changed files with 4 additions and 4 deletions
|
@ -69,15 +69,15 @@
|
||||||
<!-- Artalk -->
|
<!-- Artalk -->
|
||||||
{{ if eq .Site.Params.comment.provider "artalk" }}
|
{{ if eq .Site.Params.comment.provider "artalk" }}
|
||||||
{{ with .Site.Params.comment.artalk }}
|
{{ with .Site.Params.comment.artalk }}
|
||||||
<link href="{{ $.Site.Params.artalk.server }}/dist/Artalk.css" rel="stylesheet">
|
<link href="{{ $.Site.Params.comment.artalk.server }}/dist/Artalk.css" rel="stylesheet">
|
||||||
<script src="{{ $.Site.Params.artalk.server }}/dist/Artalk.js"></script>
|
<script src="{{ $.Site.Params.comment.artalk.server }}/dist/Artalk.js"></script>
|
||||||
<script>
|
<script>
|
||||||
Artalk.init({
|
Artalk.init({
|
||||||
el: '#comment',
|
el: '#comment',
|
||||||
pageKey: '{{ .Permalink }}',
|
pageKey: '{{ .Permalink }}',
|
||||||
pageTitle: '{{ .Title }}',
|
pageTitle: '{{ .Title }}',
|
||||||
server: '{{ $.Site.Params.artalk.server }}',
|
server: '{{ $.Site.Params.comment.artalk.server }}',
|
||||||
site: '{{ $.Site.Params.artalk.site }}',
|
site: '{{ $.Site.Params.comment.artalk.site }}',
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue