I have completed the migration from WordPress to Hugo!
It was pretty fun to work on and with creating posts/guides are less of a hassle (clicking through multiple buttons and back to see changes) than it was from before. Also pages load quicker now since it’s just running behind an nginx server with static html files instead of all that jazz (which was nice but the ‘good-looking’ plugins were paid). Also this page can be viewed in Firefox!!
Here’s an example of the file layout/how content is organised:
Creating posts are very similar to how I did it in WordPress, but now it’s markdown.
A nice thing is that I can use GitLab (self-hosted GitHub alternative) to store my files and publish changes with this process:
hugo --minify
: builds site files intopublic/
directory- I push the
public/
directory into a different git repository which will be the hosting files for running the nginx webserver. - Over on the webserver machine, I run a
git pull
in thewww
directory and changes are seen instantly.
One last thing, my server’s storage is running full :)… 🫠
Well, the only downside so far is that it can only be done on my PC, but I’ll eventually figure out how to make it so that I can manage posts on mobile.
Last updated: 2024-09-02 22:45 -0700