Marco's Blog

All content personal opinions or work.
en eo

Porting a Template from WordPress to Hugo

2024-01-04 8 min read Geek marco
Static Site Generators (SSG) are all the rage and are quickly becoming viable alternative to heavier Content Management Systems (CMS) like WordPress. I switched sites from WordPress to Hugo, one of the leadings SSG sites, but wanted to keep the site look and feel the same. To do so, I needed to port the theme I had used on WordPress. This article shows how to go about it if you want to do the same. Continue reading

Adding Search to a HUGO Site

2023-11-11 10 min read Site Programming marco
One function that is harder to do without a database backend, as static sites don’t, is search. With WordPress, search is baked into the core and all templates have to do is not get in the way. But on a static site, there is no backend to call, no infrastructure to invoke, and no user interface to show. Static sites have gotten around this by using third party search providers. Basically, you add some third party code to your site and then magic happens. Continue reading

Moving on again: Joomla to WordPress to Hugo

2023-11-09 6 min read Site marco
It’s that time of the century again: I need to move on from one platform to another and carry (almost) all the content with me. This time, the move was not necessary and I could have continued working with WordPress. But updating the software every few days added up in time, the concern that eventually I’d be caught by a WordPress flaw that allowed remote execution, and ultimate takeover of the server, and the resources required to run PHP and MySQL were all too much. Continue reading