~lord/krasovs.ky

193be762b3b457d8d7643fa6fc0978ff89e69b49 — Savely Krasovsky 27 days ago fbb03c3
feat: update remark42 init script
1 files changed, 1 insertions(+), 10 deletions(-)

M layouts/partials/remark42.html
M layouts/partials/remark42.html => layouts/partials/remark42.html +1 -10
@@ 14,13 14,4 @@
            window.REMARK42.changeTheme('light');
    });
</script>
<script>
    (function(c) {
        for (let i = 0; i < c.length; i++) {
            const d = document, s = d.createElement('script');
            s.src = remark_config.host + '/web/' +c[i] +'.js';
            s.defer = true;
            (d.head || d.body).appendChild(s);
        }
    })(remark_config.components || ['embed']);
</script>
\ No newline at end of file
<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>
\ No newline at end of file