I have followed the steps and successfully run my personal website on localhost. But after public folder was created and deployed on github pages. I enter the github pages link and the main theme is gone, only some words and pictures showing. I have add the 'hugo -t ’ to the deploy.sh file. Don’t know why this happens. I really appreciate that if anyone can help me.
Would it be possible to share with us the theme repository or at least the url of your Hugo website?
Is that theme a git submodule?
Hey guys! Thank you for replying! I have figured this out last night. The problem is the “baseurl” in the “config.toml” should start with “https” not “http”. I see someone also suggested to use baseurl="/" to avoid any problems with http.
This post gives me the best answer. https://discuss.gohugo.io/t/themes-not-showing-on-github-page/3073/4