My personal website, built with Hugo
- Install
hugofrom Hugo - Run
hugo server -Dto start a server at http://localhost:1313
- Run
hugo new blog/<name-of-post>.mdto create a new blog post - Run
hugo new arcade/<name-of-post>.mdto create a new arcade entry
There's a special scripts folder that I use to take care of other build stuff, like generating SEO preview images for sharing on Twitter.
The command for running this is:
cd scripts/seo-image-gen
go run main.go
This script requires all images to be 128x128 pixels, and will warn you if the size is anything else. (Rather than generating an invalid image!)
If you find a typo in one of my blog posts, you can find the corresponding markdown file in the content/* folder.
For example, a typo at https://rhg.dev/blog/hello-world can be found in the file ./content/blog/hello-world.md
( I'm more than happy to fix spelling errors, so PRs are welcome! )
