Hugo and


Is it possible to use hugo with I’m trying but it’s not working. The site works perfectly when I do “hugo server -D”, but after doing “hugo” and “surge public”, the output is the following:

Any idea what’s happening?

Have you set your baseurl properly?

Your css file refers to, so your website is not using any styling at the moment as your main.css file is not loading.

But yes, it should work. You just need to track down why your main.css file is loading from

I have no idea where that is coming, but I’ve my baseurl set up properly. The only place where there is the “” string is in the and in the email, which I’ve already commented.

EDIT: Managed to make it work, somehow.