fix(plugin): fix animejs locals file name & add subscribe email widget specs
parent
0700508dd2
commit
258c32a327
|
@ -125,6 +125,20 @@ const LinksSpec = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const SubscrbieEmailSpec = {
|
||||||
|
feedburner_id: {
|
||||||
|
[type]: 'string',
|
||||||
|
[doc]: 'Feedburner ID',
|
||||||
|
[required]: true,
|
||||||
|
[requires]: parent => parent.type === 'subscribe_email'
|
||||||
|
},
|
||||||
|
description: {
|
||||||
|
[type]: 'string',
|
||||||
|
[doc]: 'Hint text under the subscription input',
|
||||||
|
[requires]: parent => parent.type === 'subscribe_email'
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
[type]: 'array',
|
[type]: 'array',
|
||||||
[doc]: 'Sidebar widget settings\nhttps://ppoffice.github.io/hexo-theme-icarus/categories/Widgets/',
|
[doc]: 'Sidebar widget settings\nhttps://ppoffice.github.io/hexo-theme-icarus/categories/Widgets/',
|
||||||
|
@ -146,6 +160,7 @@ module.exports = {
|
||||||
[defaultValue]: 'left'
|
[defaultValue]: 'left'
|
||||||
},
|
},
|
||||||
...ProfileSpec,
|
...ProfileSpec,
|
||||||
...LinksSpec
|
...LinksSpec,
|
||||||
|
...SubscrbieEmailSpec
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue