- 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.ExtendedCheckout the project and submodule
git clone --recurse-submodules https://github.com/incubyte/incubyte.github.io.gitRun the server
cd incubyte.github.io
hugo server -DThe 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>.mdbefore committing
- Commit in a new branch and create PR against mainbranch
You can learn more about contributing guidelines here