use site parameters for talkyard check
This commit is contained in:
parent
60d9f86493
commit
618748f755
|
@ -44,4 +44,16 @@
|
||||||
|
|
||||||
{{ partial "posts/math.html" . }}
|
{{ partial "posts/math.html" . }}
|
||||||
</section>
|
</section>
|
||||||
|
{{ if .Site.Params.talkyardServerUrl }}
|
||||||
|
<section class="comment-section">
|
||||||
|
<h2>Comments</h2>
|
||||||
|
<script>talkyardServerUrl='{{ .Site.Params.talkyardServerUrl }}';</script>
|
||||||
|
<script async defer src="{{ .Site.Params.talkyardScriptUrl }}"></script>
|
||||||
|
<div class="talkyard-comments" data-discussion-id="{{ .Params.discussionId }}" style="margin-top: 45px;">
|
||||||
|
<noscript>Please enable Javascript to view comments.</noscript>
|
||||||
|
<p style="margin-top: 25px; opacity: 0.9; font-size: 96%">Comments powered by
|
||||||
|
<a href="https://www.talkyard.io">Talkyard</a>.</p>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue