Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruPagge <upagge@mail.ru>2020-12-11 20:07:30 +0300
committeruPagge <upagge@mail.ru>2020-12-11 20:07:30 +0300
commit0b017cee4fa2d1b319b034647a0104d11e79b9b0 (patch)
treea9def8a02d8924537e95b409986240fe512b8835 /layouts/partials/comment.html
parentcbe80b02e032445588bcefa9fb1f25f72d9e0b77 (diff)
test comment theme
Diffstat (limited to 'layouts/partials/comment.html')
-rw-r--r--layouts/partials/comment.html2
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 }}'