Please take a look at the live site
Cody Lewis
To install, you'll need to
sudo apt install ruby ruby-dev ruby-bundler zlib1g-dev
sudo gem install jekyll
cd /path/to/repo
bundle install --path vendor/bundle
To run use
bundle exec jekyll serve --drafts --watch
The site will appear at http://127.0.0.1:4000, and you can develop drafts in the _drafts folder.
This site is based on the Millennial template here. Take a look there for markdown examples.
Enable git hooks to run:
git config --local core.hooksPath .githooks/Code is open sourced under the MIT license.
Set image to a height of 600px, keep proportional.
mogrify -geometry x600 superpig.jpegResize all board images:
find . -type f -name \*.jpg -not -name "logo.*" -exec bash -c 'mogrify -geometry x400 {}' \;
find . -type f -name \*.jpeg -not -name "logo.*" -exec bash -c 'mogrify -geometry x400 {}' \;
find . -type f -name \*.png -not -name "logo.*" -exec bash -c 'mogrify -geometry x400 {}' \;
find . -type f -name \*.png -not -name "logo.*" -exec bash -c 'optipng {}' \;Resize all logos:
find . -type f -name logo.jpg -exec bash -c 'mogrify -geometry x200 {}' \;
find . -type f -name logo.jpeg -exec bash -c 'mogrify -geometry x200 {}' \;
find . -type f -name logo.png -exec bash -c 'mogrify -geometry x200 {}' \;
find . -type f -name logo.png -exec bash -c 'optipng {}' \;mogrify -quality "40%" -filter Lanczos -interlace Plane -gaussian-blur 0.15 background.jpgThis site has a list of all the different snowboard manufacturers: