https://github.com/ryan-haskell/rhg_dev
my personal website
https://github.com/ryan-haskell/rhg_dev
blog hugo website
Last synced: 6 months ago
JSON representation
my personal website
- Host: GitHub
- URL: https://github.com/ryan-haskell/rhg_dev
- Owner: ryan-haskell
- Created: 2022-01-09T07:39:00.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-27T15:30:40.000Z (11 months ago)
- Last Synced: 2025-06-09T19:55:43.182Z (6 months ago)
- Topics: blog, hugo, website
- Language: CSS
- Homepage: https://rhg.dev
- Size: 4.07 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @ryan-haskell/rhg_dev
> My personal website, built with [Hugo](https://gohugo.io/)

### running locally
1. Install `hugo` from [Hugo](https://gohugo.io/)
2. Run `hugo server -D` to start a server at [http://localhost:1313](http://localhost:1313)
### adding content to the site
1. Run `hugo new blog/.md` to create a new blog post
1. Run `hugo new arcade/.md` to create a new arcade entry
### dynamic seo images
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!)
### found a typo?
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! )