feat(comments): replace commento with remark42
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-02-21 09:00:04 +01:00
parent 0352433045
commit 6c39b1f7e7
2 changed files with 23 additions and 38 deletions

View File

@@ -23,8 +23,27 @@
</header>
<div class="post-content">{{ .Content }}</div>
<div class="post-footer">
<div id="commento"></div>
<div id="remark42"></div>
</div>
</article>
<script defer src="https://commento.phundrak.com/js/commento.js"></script>
<script>
var remark_config = {
host: "https://remark.phundrak.com",
site_id: "blog",
theme: "dark",
};
</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>
{{ end }}