Site missing CSS styling

Does anyone know know why Hugo is generating files in /public that are missing the CSS styling? I’m currently using the hugo-mainroad theme. However, it does it with any theme. Never had this problem before and it’s driving me nuts! Thanks in advance! :slightly_smiling:

@phmullins That is a very broad question. Can you point us to a repository where you’re keeping the site?

I checked here…

And it looks like the stylesheet is housed in css according to how you’ve set your baseURL in your config file.

I’d need more info to help you out. Also, if this is a theme-specific issue, you might want to raise an issue on the GitHub for hugo-mainroad.

I hate to admit it but the problem was nothing more than a messed baseurl in the config.toml file. Thanks everyone!

2 Likes