Integrate with talkyard

Signed-off-by: René Jochum <rene@jochum.dev>
master v1.0.23
René Jochum 4 years ago
parent 179d9b29f8
commit 9f10c1bcfc

@ -35,6 +35,9 @@ params:
ShowTopProfile: true ShowTopProfile: true
ShowTopSocial: false ShowTopSocial: false
talkyardServerUrl: "https://comments-for-rene-jochum-dev.talkyard.net"
talkyardScriptUrl: "https://c1.ty-cdn.net/-/talkyard-comments.min.js"
# Settings # Settings
DateFormat: 2. Jan 2006 DateFormat: 2. Jan 2006

@ -2,9 +2,12 @@
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-8 col-md-8 col-lg-8 col-xs-offset-0 col-sm-offset-2 col-md-offset-2 col-lg-offset-2"> <div class="col-xs-12 col-sm-8 col-md-8 col-lg-8 col-xs-offset-0 col-sm-offset-2 col-md-offset-2 col-lg-offset-2">
{{"<!-- begin comments //-->" | safeHTML}} {{"<!-- begin comments //-->" | safeHTML}}
<section id="isso-thread"> <script>talkyardServerUrl='{{ .Site.Params.talkyardServerUrl }}';</script>
<script async defer src="{{ .Site.Params.talkyardScriptUrl }}"></script>
</section> <!-- 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>
{{"<!-- end comments //-->" | safeHTML}} {{"<!-- end comments //-->" | safeHTML}}
</div> </div>
</div> </div>

@ -1,3 +1,2 @@
{{ "<!-- isso -->" | safeHTML }} {{ "<!-- isso -->" | safeHTML }}
<script data-isso="{{ .Site.BaseURL }}isso/" src="{{ .Site.BaseURL }}isso/js/embed.min.js"></script>
{{ "<!-- end isso -->" | safeHTML }} {{ "<!-- end isso -->" | safeHTML }}
Loading…
Cancel
Save