This commit is contained in:
Yoni Rozenshein 2021-12-25 17:07:30 +02:00 committed by GitHub
commit 912bba7c83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 0 deletions

View File

@ -160,6 +160,10 @@ commento = false
scriptSrc = "" # "https://isso.example.com/js/embed.min.js"
dataAttrs = "" # "data-isso='https://isso.example.com' data-isso-require-author='true'"
[fastcomments]
enable = false
tenantId = "demo"
[socialOptions]
email = "mailto:your@email.com"
phone = ""

View File

@ -19,5 +19,7 @@
{{ partial "comments/isso.html" . }}
{{ else if $.Param "telegram.enable" }}
{{ partial "comments/telegram.html" . }}
{{ else if $.Param "fastcomments.enable" }}
{{ partial "comments/fastcomments.html" . }}
{{ end }}
{{ end }}

View File

@ -0,0 +1,7 @@
<script src="https://cdn.fastcomments.com/js/embed-v2.min.js"></script>
<div id="fastcomments-widget"></div>
<script>
window.FastCommentsUI(document.getElementById('fastcomments-widget'), {
"tenantId": "{{ .Site.Params.fastcomments.tenantId }}"
});
</script>