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.
yarn install # packages via npm
hugo server -D # development webwerver
hugo --minify # build the public folder
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
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 {} \;
- 450px
- 900px
- 1200px
Hosted on Netlify.
git push origin master