Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/AmazingRise/hugo-theme-diary.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/comment.html')
-rw-r--r--layouts/partials/comment.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/layouts/partials/comment.html b/layouts/partials/comment.html
index 8514492..372df17 100644
--- a/layouts/partials/comment.html
+++ b/layouts/partials/comment.html
@@ -60,11 +60,12 @@ twikoo.init({
{{ if .Site.Params.walineServer }}
<div id="waline"></div>
<script>
- new Waline({
+ Waline.init({
el: '#waline',
- path: location.pathname,
+ //path: location.pathname,
serverURL: {{.Site.Params.walineServer}} ,
});
+
</script>
{{ end }}