Skip to content

Commit

Permalink
Install jekyll image compression gem
Browse files Browse the repository at this point in the history
  • Loading branch information
ruan-brandao committed Dec 9, 2019
1 parent c8383c2 commit 7490bf5
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Gemfile
Expand Up @@ -3,4 +3,5 @@ gem "bundler"
gem "jekyll"
gem "jekyll-paginate"
gem 'jekyll-tagging'
gem "jekyll-sitemap"
gem "jekyll-sitemap"
gem "jekyll-compress-images"
18 changes: 18 additions & 0 deletions Gemfile.lock
Expand Up @@ -9,11 +9,24 @@ GEM
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7)
exifr (1.3.6)
ffi (1.11.3)
forwardable-extended (2.6.0)
fspath (3.1.2)
http_parser.rb (0.6.0)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
image_optim (0.26.5)
exifr (~> 1.2, >= 1.2.2)
fspath (~> 3.0)
image_size (>= 1.5, < 3)
in_threads (~> 1.3)
progress (~> 3.0, >= 3.0.1)
image_optim_pack (0.6.0.20191208)
fspath (>= 2.1, < 4)
image_optim (~> 0.19)
image_size (2.0.2)
in_threads (1.5.3)
jekyll (3.8.6)
addressable (~> 2.4)
colorator (~> 1.0)
Expand All @@ -27,6 +40,9 @@ GEM
pathutil (~> 0.9)
rouge (>= 1.7, < 4)
safe_yaml (~> 1.0)
jekyll-compress-images (1.2)
image_optim
image_optim_pack
jekyll-paginate (1.1.0)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
Expand All @@ -45,6 +61,7 @@ GEM
nuggets (1.6.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
progress (3.5.2)
public_suffix (4.0.1)
rb-fsevent (0.10.3)
rb-inotify (0.10.0)
Expand All @@ -63,6 +80,7 @@ PLATFORMS
DEPENDENCIES
bundler
jekyll
jekyll-compress-images
jekyll-paginate
jekyll-sitemap
jekyll-tagging
Expand Down
7 changes: 7 additions & 0 deletions _compress_images_cache.yml
@@ -0,0 +1,7 @@
---
images/code-unsplash.jpg: code-unsplash.jpg
images/black-panther-unsplash.jpg: black-panther-unsplash.jpg
images/dice.jpg: dice.jpg
images/eu.jpg: eu.jpg
images/eu-palestrando.jpg: eu-palestrando.jpg
images/logo.svg: logo.svg
3 changes: 3 additions & 0 deletions _config.yml
Expand Up @@ -9,10 +9,13 @@ plugins:
- jekyll-paginate
- jekyll-sitemap
- jekyll/tagging
- jekyll-compress-images

paginate: 5
paginate_path: "/page/:num"

compress_images:
images_path: "images/**/*.{gif,png,jpg,jpeg,svg}"

# Pages Path
defaults:
Expand Down
Binary file modified images/black-panther-unsplash.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/code-unsplash.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/dice.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/eu-palestrando.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/eu.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7490bf5

Please sign in to comment.