Migration from GravCMS to Codeberg Pages
28 April 2025
I have recently migrated my website to use Codeberg Pages, hosted by pages.gay. This was partially motivated by the price of running a VPS for such a low traffic website.
This experience has helped me learn Git, which I have been using to manage my website's repository. Additionally, it has helped me understand the rendering of web pages more than I did with hosting a CMS.
As you can tell from my website's repository, it is all static HTML and CSS (with a single line of JS). Each page contains a lot of repetitive content, which when creating a new page, becomes easy to miss. Therefore, I made a simple PHP script that automates the process of creating blog posts. It takes in Markdown for content, a title, and a slug. It then uses a Twig template to render the final static page.