"hugo server" works, but "hugo" isn't

Hello there,

I’m experiencing the issue explained in this thread: [SOLVED] Website not rendering correctly

I’m also using the Fresh Theme, and don’t know why hugo is giving me a site without css.

What to do here?

we would need to see some of your code to offer help.

But if it’s a css issue I am going to take a wild guess and say that your BaseURL is wrong.

That’s only the output, but at any rate you are referencing some of your CSS relatively and some of it absolutely:

If you share the source, someone could point out the template or config that needs updating, but that should get you started. :slight_smile:

I uploaded the full config, have a look at https://drive.google.com/drive/folders/1Y0YBdS35iLvLlL1B2JCYQbn-RvSiMV5L?usp=sharing.

I only looked at the config.yaml and your base url does not match the one in @maiki’s post.

Thanks, it’s working now.

1 Like