Skip to content

incubyte/incubyte.github.io

Repository files navigation

Our blog! ✍🏼

Contributing

Prerequisites

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

Local Setup

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 using https://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