fix: add .nojekyll to prevent vendor folder from ignored by GitHub

This commit is contained in:
ppoffice 2016-11-05 08:32:55 +08:00
parent d2b4e6a339
commit 8520d14681
1 changed files with 11 additions and 0 deletions

11
scripts/nojekyll.js Normal file
View File

@ -0,0 +1,11 @@
/**
* .nojekyll Generator
* @description Prevent vendor folder from ignored by GitHub
*/
hexo.extend.generator.register('nojekyll', function (locals) {
return {
path: '.nojekyll',
data: ''
}
});