add talkyard comments
This commit is contained in:
parent
a76ed0c47c
commit
60d9f86493
|
@ -4,3 +4,14 @@
|
|||
{{ define "content" }}
|
||||
{{ partial "page.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.talkyardServerUrl }}
|
||||
<section class="comments">
|
||||
<script>talkyardServerUrl='{{ .Site.Params.talkyardServerUrl }}';</script>
|
||||
<script async defer src="{{ .Site.Params.talkyardScriptUrl }}"></script>
|
||||
<!-- You can specify a per page discussion id on the next line, if your URLs might change. -->
|
||||
<div class="talkyard-comments" data-discussion-id="{{ .Params.discussionId }}" style="margin-top: 45px;">
|
||||
<noscript>Please enable Javascript to view comments.</noscript>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue