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.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/partials/journal.html b/layouts/partials/journal.html
index 2f89c96..34779d0 100644
--- a/layouts/partials/journal.html
+++ b/layouts/partials/journal.html
@@ -101,6 +101,9 @@ app = new Vue({
recordIP: true,
})
{{ end }}
+ {{ if and (.Site.Params.enableTwikoo) (.IsPage) }}
+ twikoo.init({ envId: {{.Site.Params.twikooEnvId}}, el: '#tcomment' });
+ {{ end }}
},
destroyed() {
window.removeEventListener('scroll', this.handleScroll);