Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 1.04 KB

readme.md

File metadata and controls

59 lines (39 loc) · 1.04 KB

Luchtgomtechniek

Netlify Status

Install

sudo apt install hugo # usually older
sudo snap install hugo # usually newer

Or use a precompiled binary.

It's always easiest to keep the Hugo version the same everywhere.

Run

yarn install # packages via npm
hugo server -D # development webwerver
hugo --minify # build the public folder

New content

You can add a new section to the homepage via running

hugo new homepage/my-new-content.md

To create a page separate from the homepage, run

hugo new my-new-page.md

Fix image orientation and optimize for web

I like to use these tools, but others are available.

find content -type f -iname "*.jpg" -exec exiftran -ai {} \;
find content -type f -iname "*.jpg" -exec jpegoptim --strip-all --max=85 {} \;

CSS breakpoints

  1. 450px
  2. 900px
  3. 1200px

Deploy

Hosted on Netlify.

git push origin master