diff options
author | amazingrise <8315221+AmazingRise@users.noreply.github.com> | 2021-05-12 19:45:18 +0300 |
---|---|---|
committer | amazingrise <8315221+AmazingRise@users.noreply.github.com> | 2021-05-12 19:45:18 +0300 |
commit | 9a53186abfe836969563888dc49217ee63d38e7d (patch) | |
tree | c5e476cb201f643047b7d73e8240b17c756e5396 | |
parent | 482d9013f22f71531caa3fd2b2d297a98af37145 (diff) |
Add region for Twikoo.
-rw-r--r-- | layouts/partials/journal.html | 6 |
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() { |