From 1082b9433931e7c21b2a04f260f1985c165e1897 Mon Sep 17 00:00:00 2001 From: Richard Lee Date: Mon, 9 Feb 2015 00:10:46 +0800 Subject: [PATCH 1/2] Remove jekyll-assets --- _config.yml | 19 ++----------------- _includes/_scripts.html | 2 +- _layouts/base.html | 2 +- _plugins/_ext.rb | 1 - {_assets/stylesheets => _sass}/_animate.scss | 0 {_assets/stylesheets => _sass}/_article.scss | 0 {_assets/stylesheets => _sass}/_base.scss | 0 .../stylesheets => _sass}/_bootstrap.scss | 0 {_assets/stylesheets => _sass}/_icons.scss | 0 {_assets/stylesheets => _sass}/_nav.scss | 0 .../stylesheets => _sass}/_responsive.scss | 0 {_assets/stylesheets => _sass}/_syntax.scss | 0 {_assets => assets}/javascripts/main.js | 0 {_assets => assets}/stylesheets/main.scss | 7 ++++++- 14 files changed, 10 insertions(+), 21 deletions(-) delete mode 100644 _plugins/_ext.rb rename {_assets/stylesheets => _sass}/_animate.scss (100%) rename {_assets/stylesheets => _sass}/_article.scss (100%) rename {_assets/stylesheets => _sass}/_base.scss (100%) rename {_assets/stylesheets => _sass}/_bootstrap.scss (100%) rename {_assets/stylesheets => _sass}/_icons.scss (100%) rename {_assets/stylesheets => _sass}/_nav.scss (100%) rename {_assets/stylesheets => _sass}/_responsive.scss (100%) rename {_assets/stylesheets => _sass}/_syntax.scss (100%) rename {_assets => assets}/javascripts/main.js (100%) rename {_assets => assets}/stylesheets/main.scss (72%) diff --git a/_config.yml b/_config.yml index bbc25a9e4..9b1931fc6 100644 --- a/_config.yml +++ b/_config.yml @@ -106,20 +106,5 @@ kramdown: redcloth: hard_breaks: true -# -# jekyll-assets: see more at https://github.com/ixti/jekyll-assets -# -assets: - - dirname: assets - baseurl: /assets/ - sources: - - _assets/javascripts - - _assets/stylesheets - - _assets/images - js_compressor: uglifier - css_compressor: sass - cachebust: none - cache: false - gzip: [ text/css, application/javascript ] - debug: false \ No newline at end of file +sass: + style: :compressed diff --git a/_includes/_scripts.html b/_includes/_scripts.html index f0894baf5..6a50877fe 100644 --- a/_includes/_scripts.html +++ b/_includes/_scripts.html @@ -1,5 +1,5 @@ -{% javascript main %} + {% if site.inc.sharing.twitter %}{% endif %} {% if site.inc.sharing.facebook %}