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/journal.html')
-rw-r--r--layouts/partials/journal.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/partials/journal.html b/layouts/partials/journal.html
index 5d98953..0667cb7 100644
--- a/layouts/partials/journal.html
+++ b/layouts/partials/journal.html
@@ -102,6 +102,13 @@ app = new Vue({
avatar: {{.Site.Params.valine.avator}},
})
{{ end }}
+ {{ if and (.Site.Params.walineServer) (.IsPage) }}
+ new Waline({
+ el: '#waline',
+ path: location.pathname,
+ serverURL: {{.Site.Params.walineServer}} ,
+ });
+ {{ end }}
{{ if and (.Site.Params.enableTwikoo) (.IsPage) }}
twikoo.init({
envId: {{.Site.Params.twikooEnvId}},