fix comments locator in example
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user