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:
authoramazingrise <8315221+AmazingRise@users.noreply.github.com>2021-05-12 19:45:18 +0300
committeramazingrise <8315221+AmazingRise@users.noreply.github.com>2021-05-12 19:45:18 +0300
commit9a53186abfe836969563888dc49217ee63d38e7d (patch)
treec5e476cb201f643047b7d73e8240b17c756e5396 /layouts
parent482d9013f22f71531caa3fd2b2d297a98af37145 (diff)
Add region for Twikoo.
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/journal.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/layouts/partials/journal.html b/layouts/partials/journal.html
index 03f5385..369dbc4 100644
--- a/layouts/partials/journal.html
+++ b/layouts/partials/journal.html
@@ -102,7 +102,11 @@ app = new Vue({
})
{{ end }}
{{ if and (.Site.Params.enableTwikoo) (.IsPage) }}
- twikoo.init({ envId: {{.Site.Params.twikooEnvId}}, el: '#tcomment' });
+ twikoo.init({
+ envId: {{.Site.Params.twikooEnvId}},
+ el: '#tcomment',
+ region: {{.Site.Params.twikooRegion}},
+ });
{{ end }}
},
destroyed() {