sandvich.xyz/layouts/partials/remark42.html

21 lines
524 B
HTML

<div id="remark42">
</div>
<script>
var remark_config = {
host: "https://remark.sandvich.xyz",
site_id: "sandvich",
url: {{ .Permalink }},
locale: {{ .Site.Language.Lang }},
theme: "dark"
};
(function(c) {
for(var i = 0; i < c.length; i++){
var 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>