Parameters for local dev environment
hugo server -D
# Running localhost server - localhost:1313
# -D is responsible for displaying Draft articles on the localhost 
# even if they are in the `draft: true` state.
hugo 
# Compiling website into /public
Easiest way of deploying only the /public folder with git
- Delete public dir and create it again
 
- Clone the remote repo with “.” add the end to unpack in the new public folder
 
git clone git@github.com:name/name.git .
- Run 
hugo and commit new changes 
- Push the commit and the repo is updated