This cost me hours...
This cost me hours…
I was setting this homepage up on gitlab pages and I thought well let’s use a template to get started. I deployed the first one, took forever to compile and crashed because it took too long(over 1h). A quick google search told me, the framework was known to be slow, so I decided let’s try another. So I decided to try Hugo. For that I did the same thing: I chose the Hugo template and followed the instructions to run it. It actually went through the pipeline without complaint But when I opened the page, it looked really ugly. The CSS wasn’t loading. Now that I had something that somewhat worked I was not ready to give up on the framework yet. So I started digging. I tried multiple things on the internet until I stumbled open the section for troubleshooting in the initial setup instructions: if the CSS is missing check your baseURL it should be “xy”. Well, that fixed it ;D.
tldr: baseurl in config.toml should be set to the baseurl of your gitlab page / domain you’re using to host the gitlab page.