Skip to content

Commit 0128e9b

Browse files
committed
Updating webp tools to v0.6.1, upgrading release to v1.0, update readme
1 parent 302359e commit 0128e9b

File tree

8 files changed

+6
-5
lines changed

8 files changed

+6
-5
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22
# WebP Generator for Jekyll
3-
WebP Image Generator for Jekyll Sites can automatically generate WebP images for all images on your static site and serve them when possible.
3+
WebP Image Generator for Jekyll Sites can automatically generate WebP images for all images on your static site and serve them when possible. View on [rubygems.org](https://rubygems.org/gems/jekyll-webp).
4+
45
> Read more about this tool on my blog at <a href="https://blog.sverrirs.com/2016/06/webp-generator-for-jekyll-sites.html" target="_blank">blog.sverrirs.com</a>
56
67
## Installation
@@ -11,7 +12,7 @@ gem install jekyll-webp
1112

1213
The release includes all necessary files to run, including the WebP redistributable executable files.
1314

14-
> Currently the release includes the v0.5.1 version of the WebP utilities for Windows, Linux and Mac OS X 10.9 (Mountain Lion). Other versions and releases can be downloaded directly from <a href="https://developers.google.com/speed/webp/docs/precompiled" target="_blank">the Google page</a>.
15+
> Currently the release includes the v0.6.1 version of the WebP utilities for Windows, Linux and Mac OS X 10.9 (Mountain Lion). Other versions and releases can be downloaded directly from <a href="https://developers.google.com/speed/webp/docs/precompiled" target="_blank">the Google page</a>.
1516
1617
Add the gem to your `Gemfile` and to Jekyll's `_config.yml` then run `jekyll serve` again and you should see the generator run during site generation.
1718

@@ -62,7 +63,7 @@ In case you don't have control over your webserver then using the `<picture>` el
6263
```
6364

6465
## Advanced use: Webserver Configuration
65-
If you can then configuring your webserver to serve your new _.webp_ files to clients that support the format is probably the least problematic approach. This way you don't need to make any changes to your HTML files as your webserver will automatically serve WebP images when the client supports them.
66+
If you can, then configuring your webserver to serve your new _.webp_ files to clients that support the format is probably the least problematic approach. This way you don't need to make any changes to your HTML files as your webserver will automatically serve WebP images when the client supports them.
6667

6768
Below is an example for a .htaccess configuration section in an Apache web-server. It will redirect users to webp images whenever possible.
6869

bin/linux-x64-cwebp

55.9 KB
Binary file not shown.

bin/linux-x86-cwebp

286 KB
Binary file not shown.

bin/osx-cwebp

122 KB
Binary file not shown.

bin/win-x64-cwebp.exe

22.5 KB
Binary file not shown.

bin/win-x86-cwebp.exe

23 KB
Binary file not shown.

jekyll-webp.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
1212
spec.license = "MIT"
1313

1414
spec.summary = %q{WebP image generator for Jekyll 3 websites}
15-
spec.description = %q{WebP Image Generator for Jekyll 3 Sites that automatically generate WebP images for all images on your static site and serves them when possible.}
15+
spec.description = %q{WebP Image Generator for Jekyll 3 Sites that automatically generate WebP images for all images on your static site and serves them when possible. Includes the v0.6.1 version of the WebP utilities for Windows, Linux and Mac OS X 10.9 (Mountain Lion)}
1616

1717
spec.files = Dir['CODE_OF_CONDUCT.md', 'README.md', 'LICENSE', 'Rakefile', '*.gemspec', 'Gemfile', 'lib/**/*', 'spec/**/*', 'bin/**/*']
1818
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }

lib/jekyll-webp/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module Jekyll
22
module Webp
33
VERSION = "1.0.0"
44
# When modifying remember to issue a new tag command in git before committing, then push the new tag
5-
# git tag -a v0.1.0 -m "Gem v0.1.0"
5+
# git tag -a v1.0.0 -m "Gem v1.0.0"
66
# git push origin --tags
77
end #module Webp
88
end #module Jekyll

0 commit comments

Comments
 (0)