rezagh
August 2, 2024, 2:28am
1
Hi,
I can see my site locally using netlify dev
but when i build and do netflify serve
it does not seem to render the theme. same problem locally and on Netlify. no deployment error. I have only one theme added as git submodule. can you please check below and point me to what i am doing wrong? I have made my github repo public. Thanks.
https://github.com/rezagh/hugo_rezag
site-id: 37c6c3c0-2744-44a1-9eb6-eb3272467372
@rezagh This issue is unrelated to Netlify.
None of your assets are loading:
They’re all trying to load from https://rezag.io/
If you try to visit one, you’ll see that domain is pointed at GitHub
If you do want the assets to load from GitHub then you would need to make sure the URLs are correct.
If you don’t want the assets to load from GitHub, then you would need to either:
Delegate that domain to Netlify so the assets resolve on those URLs
or
Adjust your baseURL
so it doesn’t point to a completely different site
baseURL = 'https://rezag.io/'
languageCode = 'en-us'
title = "Reza's Weblog"
#sutitle="sdfsdfsdf"
#description = "This is my personal weblog where he shares his thoughts and experiences"
theme = 'paper'
# https://themes.gohugo.io/themes/hugo-paper/
[params]
color = 'light' # linen, wheat, gray, light
rezagh
August 2, 2024, 3:39am
3
damn. thanks for your reply. yes i had set the baseURL before
delegating the domain to netlify.
Cheers