Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions layouts/partials/isso.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<script data-isso="{{ .Site.issoURL }}/"
src="{{ .Site.issoURL }}/js/embed.min.js"></script>

<section id="isso-thread"></section>
5 changes: 5 additions & 0 deletions layouts/partials/post_footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,9 @@
{{ partial "disqus.html" . }}
{{ end }}
{{ end }}
{{ if .Site.issoURL }}
{{ if not (eq .Params.comments false) }}
{{ partial "isso.html" . }}
{{ end }}
{{ end }}
</footer>
5 changes: 5 additions & 0 deletions sample-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ theme = "hugo-octopress"
# Note it's not under [params] anymore
disqusShortname = "Your disqus shortname"

# Isso URL
# Disable comments for any individual post by adding "comments: false" in its frontmatter
# Should be mutual exclusive with disqusShortname, since it will look weird, then.
# issoURL = "https://comments.example.tld

# Number of blog posts in each pagination page
paginate = 6

Expand Down