Repository for a blog about my running.
Blog is handled by Jekyll and as such a static website.
- Install rbenv and ruby-build.
- Use rbenv to install the ruby version specified in
.ruby-version. - Install bundler in that ruby:
gem install bundler. - Install jekyll and other dependencies:
bundle.
With everything installed, you can use bundle exec jekyll serve for some live
viewing or just bundle exec jekyll build if you want the result.
When adding an image, it is advised to
-
Shrink the image, no point in 4000x3000 pixels when it shows up way smaller in the blog. The following keeps the aspect ratio.
newimgfilecan be equal toimgfile.convert imgfile -resize 800x800 newimgfile -
Scrub geodata from the image (and other things?)
exiftool -geotag= imgfile -
Switch to webp! Eventually to avif and jpeg xl when there is enough support. For now, to convert to webp:
cwebp file.png -o file.webp