fix comments locator in example

This commit is contained in:
Pavel Mineev
2021-01-12 13:39:26 -06:00
committed by Umputun
parent ecc480f51c
commit e77ffef4f4
+3 -4
View File
@@ -124,7 +124,7 @@
var remark_config = {
site_id: 'remark',
host: '<%= htmlWebpackPlugin.options.REMARK_URL %>',
url: window.location.location,
url: window.location.href,
components: ['embed', 'counter'],
// __colors__: {
// "--color0": "red",
@@ -142,10 +142,9 @@
if ('noModule' in s) {
s.type = 'module';
e = '.mjs';
} else {
s.async = true;
}
s.async = true;
s.defer = true;
s.src = remark_config.host + '/web/' + c[i] + e;