Decided to move my blogs from Ghost to using Hugo and generate a static website for the content. The reason for this was I don’t use all the fancy features of Ghost. I don’t do newsletters and Ghost requires an email account if people want to sign up for notifications. Plus I have to run a database for the content.
I started with creating an new directory and fired up Claude and started with this initial prompt.
would like to take my content from https://blog.geoffcorey.com and add it to this hugo project
Claude cranked through and setup Hugo and created all the posts. Next, I wanted all my image content local as well.
I would like all my image from blog.geoffcorey.com local and stored in static/images directory
Next I wanted to change the theme to use dream
I would like to use the Hugo theme “dream”
“dream” adds another piece of meta data to the posts and I wanted that updated as well
Update the posts with “cover” metadata with the feature image from the corresponding article from blog.geoffcorey.com
Next I needed to move the about page and patent page
I would create a page “about” from https://blog.geoffcorey.com/about-me/
and finally
I would like to create “patent” page from https://blog.geoffcorey.com/patents/
Next I generated the static site with hugo build and copy public directory to my caddy data directory as blog.geoffcorey.com and update Caddyfile
geoffcorey.com {
redir https://blog.geoffcorey.com
}
*.geoffcorey.com {
tls {
dns cloudflare <REDACTED>
}
@pics host pics.geoffcorey.com
handle @pics {
reverse_proxy immich-server:2283
}
@blog host blog.geoffcorey.com
handle @blog {
root * /data/blog.geoffcorey.com
file_server
encode zstd gzip
}
}