Hugo Blog - Quick Command Reference

๐Ÿš€ One-Time Setup # Create new Hugo site hugo new site sourabhkourav cd D:\dev\hugo-blog\sourabhkourav # Initialize Git git init # Add PaperMod theme git submodule add https://github.com/adityatelange/hugo-PaperMod themes/PaperMod # Connect to GitHub git remote add origin https://github.com/sourabhkourav/sourabhkourav-blog.git git branch -M main git push -u origin main ๐Ÿ“ Creating a New Post # Step 1 โ€” Create post file hugo new posts/my-post-title.md # Step 2 โ€” Open and edit the file # content/posts/my-post-title.md Post front matter template: ...

March 15, 2026 ยท 4 min ยท Sourabh Kourav