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 -->
|
||||
{{ if eq .Site.Params.comment.provider "artalk" }}
|
||||
{{ with .Site.Params.comment.artalk }}
|
||||
<link href="{{ $.Site.Params.artalk.server }}/dist/Artalk.css" rel="stylesheet">
|
||||
<script src="{{ $.Site.Params.artalk.server }}/dist/Artalk.js"></script>
|
||||
<link href="{{ $.Site.Params.comment.artalk.server }}/dist/Artalk.css" rel="stylesheet">
|
||||
<script src="{{ $.Site.Params.comment.artalk.server }}/dist/Artalk.js"></script>
|
||||
<script>
|
||||
Artalk.init({
|
||||
el: '#comment',
|
||||
pageKey: '{{ .Permalink }}',
|
||||
pageTitle: '{{ .Title }}',
|
||||
server: '{{ $.Site.Params.artalk.server }}',
|
||||
site: '{{ $.Site.Params.artalk.site }}',
|
||||
server: '{{ $.Site.Params.comment.artalk.server }}',
|
||||
site: '{{ $.Site.Params.comment.artalk.site }}',
|
||||
})
|
||||
</script>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue