cowboysmall-tools / hugo-devresume-theme

A free resume/CV template made for software developers.
MIT License
260 stars 128 forks source link

building issue #2

Closed jasminesolve closed 4 years ago

jasminesolve commented 4 years ago

hi,

When I use hugo to generate the website in public folder, the theme disappeared, only text content left. Before this step, everything goes well in http://localhost:1313/. Could you help with this issue? THX.

jasminesolve commented 4 years ago

I figure out the problem: when hugo generate the website in public folder, the file index.html will be generated with some errors inside, especially in line<link ref='stylesheet'...>. Just let you know. The problem is solved. Thank you.

cowboysmall commented 4 years ago

Hi,

just seeing this now. Can you look in your config.toml and check the baseurl setting, and change it to the following before you generate your website:

baseurl = "http://<mydomain.com>"

Hugo will generate the links for stylesheets, etc. based on this setting, so you will need to make sure it reflects your deployment. If you want to test it before deployment, chenge it as follows:

baseurl = "http://localhost:1313"

and regenerate. But remember to change it back before generating for deployment.

J.K.