Cheatsheet - Hugo
Commands hugo new posts/first.md /* new post with given name */ hugo server /* startup local server */ git init /* creates empty git repo locally */ git submodle add https://... /* adds a hugo theme from a github repo */ hugo new site blog --format yaml /* creates a new hugo site called blog with the config format .yaml */ Directory-Setup The .md Files in the archetypes directory act as templates when creating new posts. Handy to standardise. default.md posts.md (/content/posts/..)