diff options
author | uPagge <upagge@mail.ru> | 2020-12-11 20:07:30 +0300 |
---|---|---|
committer | uPagge <upagge@mail.ru> | 2020-12-11 20:07:30 +0300 |
commit | 0b017cee4fa2d1b319b034647a0104d11e79b9b0 (patch) | |
tree | a9def8a02d8924537e95b409986240fe512b8835 /layouts/partials/comment.html | |
parent | cbe80b02e032445588bcefa9fb1f25f72d9e0b77 (diff) |
test comment theme
Diffstat (limited to 'layouts/partials/comment.html')
-rw-r--r-- | layouts/partials/comment.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/comment.html b/layouts/partials/comment.html index de8b463..30b287b 100644 --- a/layouts/partials/comment.html +++ b/layouts/partials/comment.html @@ -106,10 +106,12 @@ {{- if $remark42.enable -}} <div id="remark42" class="comment"></div> <script> + var themeRemark = document.body.getAttribute('theme') var remark_config = { host: '{{ $remark42.host }}', site_id: '{{ $remark42.site }}', components: ['embed'], + theme: themeRemark, locale: '{{ $remark42.locale }}', show_email_subscription: '{{ $remark42.emailSubscribe }}', page_title: '{{ .Title }}' |