Closed nima1981 closed 11 months ago
Sure thing
<script type="text/javascript" src="https://unpkg.com/zapthreads/dist/zapthreads.iife.js"></script>
Great, thanks! I've tried to embed it underneath nocomment to test it out on https://dissentwatch.com/boost/?boost_post_id=669022 but nothing shows up.
Actually this one is better to test because it has some comments already, rendered by nocomment only though at the moment https://dissentwatch.com/boost/?boost_post_id=668155
Okay I think I see the problem, you're trying to use it with data-*
attributes like nocomment and that doesn't work here. Just import the script, and then use like here: https://github.com/21ideas-org/21ideas.org/blob/e06d11719b73d728020a409d0b82caa2dcdec34f/themes/hugo-book/layouts/partials/docs/comments.html#L5
Yup, that did it, thanks!
Is there a hosted link to embed this script on a website like nocomment has?