Skip to content

dylanhawley/dylanhawley.github.io

Repository files navigation

Dylan's Website

Follow GitHub Pages documentation to test site locally with Jekyll.

$ bundle install
$ bundle exec jekyll serve

Increase PageSpeed Performance

Reduce image size

sips -Z <maxSize> <input_file>

Convert images to WebP

How to convert PNG to WebP on Mac:

If you don't have WebP tools installed on your Mac, you can easily install them using Homebrew:

brew install webp

In the Terminal, navigate to the folder containing your PNG files. Use the following command to convert a PNG file to WebP:

cwebp input.png -o output.webp

Replace input.png with the actual name of your PNG file and output.webp with the name you want for the WebP file.

By default, cwebp applies lossy compression. You can adjust the quality of the WebP file by adding the -q option (range 0-100, where 100 is the best quality):

cwebp -q 30 input.png -o output.webp

About

Personal website, an instance of the custom Jekyll theme I created.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published