Skip to content

Commit

Permalink
WEBP
Browse files Browse the repository at this point in the history
Added jekyll-webp to be compress image files.  Altered index.md to use the webp file instead of the jpg.
  • Loading branch information
Jason Todd committed Nov 30, 2020
1 parent 0427f20 commit 5ebccf4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ gem "jekyll", "~> 4.1.1"
group :jekyll_plugins do
gem "jekyll-mentions"
gem "jekyll-deploy"
gem "jekyll-webp"
end


9 changes: 9 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,16 @@ exclude:
deploy:
- cp -R * /var/www/html/firewx


# Webp
webp:
enabled: true
quality: 75
img_dir: ["images"]
formats: [".jpg", ".png"]

# Plugins
plugins:
- jekyll-mentions
- jekyll-deploy
- jekyll-webp
4 changes: 2 additions & 2 deletions index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: default
version: FWFXCAST-V04
version: FWFXCAST-V04.01
github: azfirefighter
author: Jason Todd
license: LICENSE
logo: SDFD-trans.jpg
logo: SDFD-trans.webp
title: SDFD Fire Weather Briefing
---

0 comments on commit 5ebccf4

Please sign in to comment.