Commit 04a6f7d3 authored by Kaushal Modi's avatar Kaushal Modi

Add support for Isso

https://posativ.org/isso/docs/quickstart/

Little bit of history of an issue I faced while trying to get Isso working: https://github.com/posativ/isso/issues/305
parent dcf50637
......@@ -18,7 +18,12 @@
{{ partial "prev_next" . }}
</div>
{{ if (isset .Site.Params "showcomments") }}
{{ if isset .Site.Params "issoserverurl" }}
<div class="comments clear-float">
<h1>Comments</h1>
{{ partial "isso" . }}
</div>
{{ else if isset .Site.Params "disquscomments" }}
<div class="comments clear-float">
<h1>Comments</h1>
{{/* template "_internal/disqus.html" . */}}
......
<script data-isso="//{{ .Site.Params.issoserverurl }}/"
src="//{{ .Site.Params.issoserverurl }}/js/embed.min.js">
</script>
<section id="isso-thread"></section>
<noscript>Please enable JavaScript to view the comments powered by Isso.</noscript>
comments powered by <a href="https://posativ.org/isso/">Isso</a>{{with .Site.Params.issotagline }}{{.}}{{ end }}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment