LighnovelWP update (#900)
* multisrc lightnovelwp: - customJs from sources.json - Genesis Tls fix werid spaceing and fix copyright * multisrc lightnovelwp: - custom seriesPath for sources - added moonlightnovel - added sektenovel filter - updated README.md * lightnovelWP: - customJs in file instead of eval * lightnovelWP: - fix images size * update daotranslate & remove check for tld
This commit is contained in:
@@ -27,7 +27,10 @@ const generator = function generator(source: LightNovelWPMetadata) {
|
||||
);
|
||||
|
||||
const pluginScript = `
|
||||
${LightNovelWPTemplate}
|
||||
${LightNovelWPTemplate.replace(
|
||||
'// CustomJS HERE',
|
||||
source.options?.customJs || '',
|
||||
)}
|
||||
const plugin = new LightNovelWPPlugin(${JSON.stringify(source)});
|
||||
export default plugin;
|
||||
`.trim();
|
||||
|
||||
Reference in New Issue
Block a user