Inside my personal website
H ello and welcome to my website! Given all of this extra time I have had at home recently, I figured it was finally time to stand up a website to publish some blog posts I have been meaning to write. As any self respecting software engineer would do in this case, my plan was to build it all myself.
Having not considered the ecosystem of static content generation sites for quite some time, I hit the books to figure what my options are.
Hugo at its core is really nothing more than a very feature rich HTML template renderer, which is exactly the right tool for the job of generating markup, but what about styling?
I chose to just use SASS. Using nothing but SASS is amazing for a project this small. I wrote all of the styling myself, which for text based content, really isn’t that bad.
Hugo offers a library of themes, but I personally find the usage of themes to be a bit tacky. I wanted something that is uniquely mine, and more importantly, doesn’t add a bunch of shit I will never use.
Hosting & deployment
Hosting static content in 2020 is so easy it should be illegal. I use GitHub Pages as the host, which really is as simple as turning it on in the repository settings.
Similarly, deployment is disgustingly easy with GitHub Actions. My configuration file is triggered by every push to master, which then:
- Downloads the
- Builds the site from source with
- Pushes the build to the
And that’s it, every push of my website source code immediately triggers a build and deployment, all for free.
Here is my configuration for reference:
That’s it, we have a website
It really is this simple to build your own custom corner of the internet and serve it for free. I left out some details, specifically my configuration in Cloudflare, but if there is demand I can dive deeper into it.