remark42 for comments

This commit is contained in:
Mahdi Dibaiee 2024-10-08 17:10:30 +01:00
parent f8b6c73625
commit a1189d7f9b
2 changed files with 9 additions and 4 deletions

View File

@ -44,5 +44,13 @@
}); });
</script> </script>
<script data-goatcounter="https://thereadme.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script> <script data-goatcounter="https://thereadme.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
<script>
var remark_config = {
host: 'https://remark.theread.me',
site_id: 'remark',
}
</script>
<script>!function(e,n){for(var o=0;o<e.length;o++){var r=n.createElement("script"),c=".js",d=n.head||n.body;"noModule"in r?(r.type="module",c=".mjs"):r.async=!0,r.defer=!0,r.src=remark_config.host+"/web/"+e[o]+c,d.appendChild(r)}}(remark_config.components||["embed"],document);</script>
</head> </head>

View File

@ -20,10 +20,7 @@ layout: default
{{ content }} {{ content }}
</article> </article>
<div id="commento"></div> <div id="remark42"></div>
<script defer
src="//commento.theread.me/js/commento.js">
</script>
<script src="/js/heading-links.js"></script> <script src="/js/heading-links.js"></script>
</div> </div>