- Install hugo
For Linux and Mac you can go with brew, or your distro's package manager, on Windows you can use winget
# For Mac and Linux
brew install hugo
# For Linux with package managers
apt install hugo
# For Windows
winget install Hugo.Hugo.Extended
Checkout the project and submodule
git clone --recurse-submodules https://github.com/incubyte/incubyte.github.io.git
Run the server
cd incubyte.github.io
hugo server -D
The blog should now be live at http://localhost:1313
To add a new article
hugo new blog/article-name.md`
- If you are adding images, add them to
static/images
, make sure they are optimized usinghttps://squoosh.app/
- Make sure to run
npx prettier --write .\content\blog\<filename>.md
before committing - Commit in a new branch and create PR against
main
branch
You can learn more about contributing guidelines here