feat(comments): replace commento with remark42
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user