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-25 16:36:18 +0300
committeruPagge <upagge@mail.ru>2020-11-25 16:36:18 +0300
commita7699041ec30675acd56f0da925ac161c99e05d3 (patch)
tree4dcf4071a5a9d89d32972a4d15c3300a73af0b34 /layouts/partials
parentda8c055c8a9cead45ff09eaaa81d01d53ce4708f (diff)
Исправление комментариев в телеге
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/comment.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/comment.html b/layouts/partials/comment.html
index 0382ae1..896eced 100644
--- a/layouts/partials/comment.html
+++ b/layouts/partials/comment.html
@@ -95,7 +95,7 @@
{{- if $telegram.outlined -}}
{{- $attr = printf `%v data-outlined="1"` $attr -}}
{{- end -}}
- {{- dict "Source" "https://comments.app/js/widget.js?2" "Defer" true "Attr" $attr | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}}
+ <script type="text/javascript" src="https://comments.app/js/widget.js?3" {{ with $attr }} {{ . | safeHTMLAttr }}{{ end }}></script>
<noscript>
Please enable JavaScript to view the comments powered by <a href="https://comments.app/">Telegram Comments</a>.
</noscript>