Theme display issue - please help


#1

Hi All,

I’ve been an R user for a while and as I’m wanting to make myself a personal website I thought I’d try Hugo. I’m wanting to use the Resume theme (https://themes.gohugo.io/hugo-resume/) by Eddie Webb.

I’ve spent a couple of days adapting my site from the template and when I uploaded it to github (https://github.com/pgseye/psbiostats) and then deployed through netlify, the theme is effectively lost:

and it looks pretty average. If I try blogdown::build_site(), what ends up in the public folder locally, is the same.

Up until trying to upload and deploy, I’ve just run the site locally with blogdown::serve_site() and it looks perfect (screenshot attached). I didn’t realise there was an issue until I tried to publish.

I obviously haven’t set something up correctly. Any help would be appreciated - frustrating to lose days work :weary:

Thanks - Paul

P.S. Hugo 0.50


#2

There are a lot of this kind of issue cited in this forum so, have a search. Usually it appears it’s related to how you set the baseURL param or, how you are referencing the css. It’s probably not a hard fix but, I don’t use Netlify so I can’t comment in detail, sorry.


#3

Echoing this:

Your config.toml has:

baseURL = "https://example.com/"

which you need to set to

baseURL = "https://nifty-goldberg-962511.netlify.com/" 

Or whatever URL it gets deployed to.

Also, make sure you have read: https://gohugo.io/hosting-and-deployment/hosting-on-netlify/


#4

Oh - so simple. I’m embarrassed! Thanks so much.