diff --git a/Gemfile b/Gemfile index e58932e..b3c9577 100644 --- a/Gemfile +++ b/Gemfile @@ -5,3 +5,4 @@ gem 'pygments.rb', '~> 0.5.4' gem 'jekyll-assets' gem 'less' gem 'therubyracer' +gem 'yui-compressor' diff --git a/Gemfile.lock b/Gemfile.lock index d6c41e3..7de109d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -63,6 +63,7 @@ GEM toml (0.1.0) parslet (~> 1.5.0) yajl-ruby (1.1.0) + yui-compressor (0.12.0) PLATFORMS ruby @@ -73,3 +74,4 @@ DEPENDENCIES less pygments.rb (~> 0.5.4) therubyracer + yui-compressor diff --git a/_config.yml b/_config.yml index 35919ea..1feb85d 100644 --- a/_config.yml +++ b/_config.yml @@ -10,3 +10,14 @@ keep_files: ['.gitkeep'] encoding: UTF-8 markdown: redcarpet gems: ['jekyll-assets'] + +# +# Plugin: jekyll-assets +# +assets: + # + # Sets compressors. No compression by default. + # + compress: + js: yui + css: yui