From 8520d1468155bd4330932f177696d21631809589 Mon Sep 17 00:00:00 2001 From: ppoffice Date: Sat, 5 Nov 2016 08:32:55 +0800 Subject: [PATCH] fix: add .nojekyll to prevent vendor folder from ignored by GitHub --- scripts/nojekyll.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 scripts/nojekyll.js diff --git a/scripts/nojekyll.js b/scripts/nojekyll.js new file mode 100644 index 0000000..5df3393 --- /dev/null +++ b/scripts/nojekyll.js @@ -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: '' + } +}); \ No newline at end of file