I’m trying to do a really simple website with Hugo. I can view it just fine when doing
hugo server, but the theme isn’t applied for the site exported to /public.
The preview is on the left, the exported site is on the right:
I know I’m missing something obvious here, please point me in the right direction.
Check the browser console. It will tell you something along the lines “file ### not found”. Check the URL the site is trying to load. Most probably this is connected to a wrong
baseUrl parameter in your configuration. That parameter needs to be the full URL (including http/https) to your website.
That did it, awesome!
My baseurl didn’t have https://, I only had “domain.com/path” there. With “https://domain.com/path” it works.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.