From 0011e05989e4fc53bdbf99e64983921d101f8ddb Mon Sep 17 00:00:00 2001 From: vonavi Date: Tue, 1 Jul 2014 14:33:19 +0300 Subject: [PATCH] Suppress Bootstrap files from being converted by 'jekyll-assets'. --- _assets/javascripts/bootstrap.js | 1 - _assets/stylesheets/bootstrap.css.less | 51 -------------------- _config.yml | 2 +- _layouts/default.html | 6 +-- assets/css/bootstrap.min.css | 1 + assets/js/bootstrap.min.js | 1 + {_assets/javascripts => assets/js}/holder.js | 0 7 files changed, 6 insertions(+), 56 deletions(-) delete mode 120000 _assets/javascripts/bootstrap.js delete mode 100644 _assets/stylesheets/bootstrap.css.less create mode 120000 assets/css/bootstrap.min.css create mode 120000 assets/js/bootstrap.min.js rename {_assets/javascripts => assets/js}/holder.js (100%) diff --git a/_assets/javascripts/bootstrap.js b/_assets/javascripts/bootstrap.js deleted file mode 120000 index b2c5ebd..0000000 --- a/_assets/javascripts/bootstrap.js +++ /dev/null @@ -1 +0,0 @@ -../vendor/bootstrap/dist/js/bootstrap.js \ No newline at end of file diff --git a/_assets/stylesheets/bootstrap.css.less b/_assets/stylesheets/bootstrap.css.less deleted file mode 100644 index 369cc78..0000000 --- a/_assets/stylesheets/bootstrap.css.less +++ /dev/null @@ -1,51 +0,0 @@ -@bootstrap-less-path: "../vendor/bootstrap/less/"; - -// Core variables and mixins -@import "@{bootstrap-less-path}variables.less"; -@import "@{bootstrap-less-path}mixins.less"; - -// Reset -@import "@{bootstrap-less-path}normalize.less"; -@import "@{bootstrap-less-path}print.less"; - -// Core CSS -@import "@{bootstrap-less-path}scaffolding.less"; -@import "@{bootstrap-less-path}type.less"; -@import "@{bootstrap-less-path}code.less"; -@import "@{bootstrap-less-path}grid.less"; -@import "@{bootstrap-less-path}tables.less"; -@import "@{bootstrap-less-path}forms.less"; -@import "@{bootstrap-less-path}buttons.less"; - -// Components -@import "@{bootstrap-less-path}component-animations.less"; -@import "@{bootstrap-less-path}glyphicons.less"; -@import "@{bootstrap-less-path}dropdowns.less"; -@import "@{bootstrap-less-path}button-groups.less"; -@import "@{bootstrap-less-path}input-groups.less"; -@import "@{bootstrap-less-path}navs.less"; -@import "@{bootstrap-less-path}navbar.less"; -@import "@{bootstrap-less-path}breadcrumbs.less"; -@import "@{bootstrap-less-path}pagination.less"; -@import "@{bootstrap-less-path}pager.less"; -@import "@{bootstrap-less-path}labels.less"; -@import "@{bootstrap-less-path}badges.less"; -@import "@{bootstrap-less-path}jumbotron.less"; -@import "@{bootstrap-less-path}thumbnails.less"; -@import "@{bootstrap-less-path}alerts.less"; -@import "@{bootstrap-less-path}progress-bars.less"; -@import "@{bootstrap-less-path}media.less"; -@import "@{bootstrap-less-path}list-group.less"; -@import "@{bootstrap-less-path}panels.less"; -@import "@{bootstrap-less-path}wells.less"; -@import "@{bootstrap-less-path}close.less"; - -// Components w/ JavaScript -@import "@{bootstrap-less-path}modals.less"; -@import "@{bootstrap-less-path}tooltip.less"; -@import "@{bootstrap-less-path}popovers.less"; -@import "@{bootstrap-less-path}carousel.less"; - -// Utility classes -@import "@{bootstrap-less-path}utilities.less"; -@import "@{bootstrap-less-path}responsive-utilities.less"; diff --git a/_config.yml b/_config.yml index d87718e..ee5342a 100644 --- a/_config.yml +++ b/_config.yml @@ -3,7 +3,7 @@ title: LORChess permalink: pretty destination: public -exclude: ['Gemfile*', 'Guardfile', 'README*', 'vendor'] +exclude: ['assets/vendor', 'Gemfile*', 'Guardfile', 'README*', 'vendor'] keep_files: ['.gitkeep'] encoding: UTF-8 diff --git a/_layouts/default.html b/_layouts/default.html index ea641ed..8bfdf57 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -11,7 +11,7 @@ {{ site.title }} - {% stylesheet bootstrap %} + {% stylesheet theme %} @@ -32,8 +32,8 @@ ================================================== --> - {% javascript bootstrap %} - {% javascript holder %} + + {% javascript jquery.tablesorter %} diff --git a/assets/css/bootstrap.min.css b/assets/css/bootstrap.min.css new file mode 120000 index 0000000..72b9541 --- /dev/null +++ b/assets/css/bootstrap.min.css @@ -0,0 +1 @@ +../vendor/bootstrap/docs/dist/css/bootstrap.min.css \ No newline at end of file diff --git a/assets/js/bootstrap.min.js b/assets/js/bootstrap.min.js new file mode 120000 index 0000000..8ec0ded --- /dev/null +++ b/assets/js/bootstrap.min.js @@ -0,0 +1 @@ +../vendor/bootstrap/dist/js/bootstrap.min.js \ No newline at end of file diff --git a/_assets/javascripts/holder.js b/assets/js/holder.js similarity index 100% rename from _assets/javascripts/holder.js rename to assets/js/holder.js