12 lines
551 B
HTML
12 lines
551 B
HTML
|
<div id="remark42"></div>
|
||
|
<script>
|
||
|
var theme = "light"
|
||
|
if (document.body.classList.contains("dark")) theme = "dark";
|
||
|
var remark_config = {
|
||
|
host: "{{ site.Params.Remark42URL }}",
|
||
|
site_id: "{{ site.Params.Remark42ID }}",
|
||
|
theme: theme
|
||
|
}
|
||
|
</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>
|