question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Isso (Disqus alternative) just works, and we should probably mention it in the doc

See original GitHub issue

I have discovered Isso recently, it’s a self hosted alternative to Disqus.

I checked if mkdocs-material was supporting it but couldn’t find anything in the doc.

I still managed to integrate it by replacing the disqus block with Isso stuff and it just works great:

{% extends "base.html" %}

{% block disqus %}

<!-- replace disqus with isso -->
<script 
	data-isso="https://comment.example.org/" 
	data-isso-css="true" 
	data-isso-require-author="true" 
	data-isso-require-email="true" 
	data-isso-reply-to-self="false"
	src="https://comment.example.org/js/embed.min.js">
</script>
<section id="isso-thread"></section>

<noscript>Please enable JavaScript to view the comments.</noscript>
{% endblock %}

I think it would be nice to mention in the doc that Isso can work.

Now my question is, should I make a PR documenting this thing above that I consider a “workaround”, or would you rather develop a proper integration?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
Gutscommented, Mar 30, 2021

@sebw no worries, I’ve managed and I put it here, maybe it could help someone else:

extra:
  comments_url: http://comments-isso.example.com

In main.html:

[...]
{% block disqus %}

  {% if not page.is_homepage %}
    {# Comment system (Isso) #}
    <div id="__comments">
      <script
        data-isso="{{ config.extra.comments_url }}/"
        data-isso-require-author="true"
        data-isso-require-email="true"
        data-isso-reply-to-self="false"
        data-isso-vote="true"
        src="{{ config.extra.comments_url }}/js/embed.min.js">
      </script>
      <hr><section id="isso-thread"><h2>Comments</h2></section>
      <noscript>Please enable JavaScript to view the comments.</noscript>
    </div>
  {% endif %}
{% endblock %}
[...]

Please note that I chose to disable comments on homepage.

0reactions
anjannaircommented, Nov 7, 2021
{% endif %}

Thank you for this solution @Guts, I somehow couldn’t locate the exclude homepage solution until I stumbled upon your solution!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Isso – a commenting server similar to Disqus - Hacker News
I 've been searching for a Disqus alternative for a while, and Isso is one of the first project I cape upon. However,...
Read more >
Alternative to Disqus Needed More Than Ever - support - HUGO
I 've actually gone with Isso which is Python-based and uses a simple flat file SQLite3 DB to store the comments. It was...
Read more >
Ejecting Disqus - Remy Sharp
Running a routing performance check on my blog I noticed that in the list of domains being accessed included facebook.com.
Read more >
Disqus to Remark42 - Connor Tumbleson
As promised in early 2020, the abandonment of Disqus is here. Swapped out with a privacy focused Remark42.
Read more >
Top 6 Disqus alternatives for technical blogging - Arek Nawo
Lastly, we've got Commento - a lightweight, privacy-focused commenting platform. This is the platform that now powers this blog's comment, so if ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found