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-11-28 10:34:35 +0300
committeruPagge <upagge@mail.ru>2020-11-28 10:34:35 +0300
commite1948acd397f3a8a9ac373cdd1bdfcee8af4ad1f (patch)
tree65cf20abcb076939c559b04202cc737e7bf11749 /layouts/index.html
parent74c920a2f59cd267d9d2c932167caefa771b1f56 (diff)
добавляем счетчик комментариев
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html
index a5f4707..bc4f731 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -44,7 +44,7 @@
{{- if $remark42.enable -}}
<script>
var remark_config = {
- host: '{{ $remark42.host }}', // hostname of remark server, same as REMARK_URL in backend config, e.g. "https://demo.remark42.com"
+ host: '{{ $remark42.host }}',
site_id: '{{ $remark42.site }}',
components: ['counter']
};
@@ -56,7 +56,7 @@
s.defer = true;
(d.head || d.body).appendChild(s);
}
- })(remark_config.components || ['embed']);
+ })(remark_config.components || ['counter']);
</script>
{{- end -}}
{{- end -}}