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

gitlab.com/VincentTam/huginn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Berthault <justin.berthault@zaclys.net>2018-03-28 12:23:18 +0300
committerJustin Berthault <justin.berthault@zaclys.net>2018-03-28 12:23:18 +0300
commit998a6edc0077587bfb15d81193a478c7f7f729bc (patch)
tree4e7b1a7395809936a718173ef8c53cf2b2a3b50f /layouts
parent5caaa21e85765aba69a6db6a837d637ce7fd3158 (diff)
Add Isso support
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index f553728..1db4a56 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -58,8 +58,11 @@
</ul>
{{ end }}
{{ if .Site.Params.static_comments }}
- {{ partial "form" . }}
- {{ partial "comments" . }}
+ <script defer data-isso="{{ .Site.Params.isso_server }}"
+ src="{{ .Site.Params.isso_server }}js/embed.min.js"
+ async crossorigin="anonymous">
+ </script>
+ <section style="color:#22272e" id="isso-thread"></section>
{{ end }}
{{ end }}
{{- define "scripts" -}}