use site parameters for talkyard check
This commit is contained in:
parent
60d9f86493
commit
618748f755
|
@ -43,5 +43,17 @@
|
|||
</article>
|
||||
|
||||
{{ partial "posts/math.html" . }}
|
||||
</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 }}
|
||||
|
|
Loading…
Reference in New Issue