Browse Source

added isso

master
Eorn 2 years ago
parent
commit
13c134c443
  1. 6
      layouts/_default/single.html
  2. 9
      layouts/partials/isso.html

6
layouts/_default/single.html

@ -19,8 +19,14 @@
<div class="related">{{ partial "related" . }}</div>
</div>
</article>
{{ if .Site.Params.issoComments }}
{{- partial "isso" . -}}
{{ end }}
{{ end }}
</div>
</section>
{{ partial "footer" . }}

9
layouts/partials/isso.html

@ -0,0 +1,9 @@
<!-- Isso comments -->
<h3>Commentaires</h3>
<script data-isso="{{- .Site.Params.baseURL -}}"
src="{{- .Site.Params.issoComments.issoURL -}}/js/embed.min.js"></script>
<section id="isso-thread"></section>
<!-- End Isso Code -->
Loading…
Cancel
Save