fix: rename vendor folder to libs to prevent being ignored by GitHub

This commit is contained in:
ppoffice 2016-11-05 09:36:56 +08:00
parent 8520d14681
commit 036b8c814f
74 changed files with 16 additions and 27 deletions

View File

@ -37,12 +37,12 @@
<link rel="icon" href="<%- url_for(theme.customize.favicon) %>" />
<% } %>
<%- css('vendor/font-awesome/css/font-awesome.min') %>
<%- css('vendor/open-sans/styles') %>
<%- css('vendor/source-code-pro/styles') %>
<%- css('libs/font-awesome/css/font-awesome.min') %>
<%- css('libs/open-sans/styles') %>
<%- css('libs/source-code-pro/styles') %>
<%- css('css/style') %>
<%- js('vendor/jquery/2.1.3/jquery.min') %>
<%- js('libs/jquery/2.1.3/jquery.min') %>
<%- partial('plugin/scripts', { isHead: true }) %>
</head>

View File

@ -1,9 +1,9 @@
<% if (typeof(isHead) !== 'undefined' && isHead) { %>
<% if (theme.plugins.lightgallery) { %>
<%- css('vendor/lightgallery/css/lightgallery.min') %>
<%- css('libs/lightgallery/css/lightgallery.min') %>
<% } %>
<% if (theme.plugins.justifiedgallery) { %>
<%- css('vendor/justified-gallery/justifiedGallery.min.css') %>
<%- css('libs/justified-gallery/justifiedGallery.min.css') %>
<% } %>
<% if (theme.plugins.google_analytics) { %>
<%- partial('plugin/google-analytics') %>
@ -16,17 +16,17 @@
<% } %>
<% } else { %>
<% if (theme.plugins.lightgallery) { %>
<%- js('vendor/lightgallery/js/lightgallery.min') %>
<%- js('vendor/lightgallery/js/lg-thumbnail.min') %>
<%- js('vendor/lightgallery/js/lg-pager.min') %>
<%- js('vendor/lightgallery/js/lg-autoplay.min') %>
<%- js('vendor/lightgallery/js/lg-fullscreen.min') %>
<%- js('vendor/lightgallery/js/lg-zoom.min') %>
<%- js('vendor/lightgallery/js/lg-hash.min') %>
<%- js('vendor/lightgallery/js/lg-share.min') %>
<%- js('vendor/lightgallery/js/lg-video.min') %>
<%- js('libs/lightgallery/js/lightgallery.min') %>
<%- js('libs/lightgallery/js/lg-thumbnail.min') %>
<%- js('libs/lightgallery/js/lg-pager.min') %>
<%- js('libs/lightgallery/js/lg-autoplay.min') %>
<%- js('libs/lightgallery/js/lg-fullscreen.min') %>
<%- js('libs/lightgallery/js/lg-zoom.min') %>
<%- js('libs/lightgallery/js/lg-hash.min') %>
<%- js('libs/lightgallery/js/lg-share.min') %>
<%- js('libs/lightgallery/js/lg-video.min') %>
<% } %>
<% if (theme.plugins.justifiedgallery) { %>
<%- js('vendor/justified-gallery/jquery.justifiedGallery.min.js') %>
<%- js('libs/justified-gallery/jquery.justifiedGallery.min.js') %>
<% } %>
<% } %>

View File

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

View File

Before

Width:  |  Height:  |  Size: 382 KiB

After

Width:  |  Height:  |  Size: 382 KiB

View File

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

Before

Width:  |  Height:  |  Size: 819 B

After

Width:  |  Height:  |  Size: 819 B

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB