Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 655 Bytes

File metadata and controls

45 lines (29 loc) · 655 Bytes

My Github Pages site

Creating a new post

hugo new content content/posts/something.md

I tend to prepend them with dates, to make the posts less chaotic.

hugo new content content/posts/$(date "+%Y-%m-%d")-some-post-name.md  

It will create a file marked as draft = true which will not be published.

https://gohugo.io/getting-started/quick-start/#add-content

Local development

Simply run:

hugo server

Setup Linux

sudo apt install golang hugo

Setup Windows

Install Go:

winget intsall GoLang.Go

Install Hugo extended:

winget install Hugo.Hugo.Extended