2018-10-21 03:18:58 +00:00
|
|
|
const { doc, type, defaultValue } = require('../common/utils').descriptors;
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
[type]: 'object',
|
2018-11-24 07:26:51 +00:00
|
|
|
[doc]: 'CDN provider settings\nhttp://ppoffice.github.io/hexo-theme-icarus/Configuration/Theme/speed-up-your-site-with-custom-cdn/',
|
2018-10-21 03:18:58 +00:00
|
|
|
cdn: {
|
|
|
|
[type]: 'string',
|
|
|
|
[doc]: 'Name or URL of the JavaScript and/or stylesheet CDN provider',
|
2018-10-27 16:16:23 +00:00
|
|
|
[defaultValue]: 'jsdelivr'
|
2018-10-21 03:18:58 +00:00
|
|
|
},
|
|
|
|
fontcdn: {
|
|
|
|
[type]: 'string',
|
|
|
|
[doc]: 'Name or URL of the webfont CDN provider',
|
|
|
|
[defaultValue]: 'google'
|
|
|
|
},
|
|
|
|
iconcdn: {
|
|
|
|
[type]: 'string',
|
|
|
|
[doc]: 'Name or URL of the webfont Icon CDN provider',
|
|
|
|
[defaultValue]: 'fontawesome'
|
|
|
|
}
|
|
|
|
};
|