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/..)

September 15, 2020 路 1 min 路 Patrick

Cheatsheet - Markdown

Markdown Cheatsheet Heading 1 Heading 2 Heading 3 Bold Italic Strikethrough Bullet list Another item Numbered list Second item Link Inline code console.log("Code block"); Blockquote Name Value A 1 B 2 Task Done Escaping Characters Use backslashes: *not italic* Horizontal Rule HTML in Markdown Red text

September 15, 2020 路 1 min 路 Patrick