You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
496 B
28 lines
496 B
const path = require("path");
|
|
|
|
function pluginWwads() {
|
|
return {
|
|
name: "docusaurus-plugin-wwads",
|
|
|
|
getClientModules() {
|
|
return [path.resolve(__dirname, "./wwads")];
|
|
},
|
|
|
|
injectHtmlTags() {
|
|
return {
|
|
headTags: [
|
|
{
|
|
tagName: "script",
|
|
attributes: {
|
|
async: true,
|
|
src: `https://cdn.wwads.cn/js/makemoney.js`,
|
|
},
|
|
},
|
|
],
|
|
};
|
|
},
|
|
};
|
|
}
|
|
|
|
exports.default = pluginWwads;
|