my website looks deformed
Opened this issue · 5 comments
Hello my website does not look like how your sample website looks. For some reason when I launch it on command prompt with "hugo server" it looks fine, but when I release live it looks messed up.
The website is called ajazksweb.com. can you help.
Hello @ajazsyed,
if you've a look at the console in the developer tools (press F12 in your browser) it will show you that all required JS and CSS files and pictures are missing because they haven't been uploaded.
After running the hugo command
you should find them in the generated public
folder.
So how should upload them back
I guess you host you site at https://github.com/AjazSyed/Ajazksweb/tree/gh-pages, right?
After looking at the urls of your website my first guess is that it has something to do with the base url in the config. Try to set it to https://www.ajazksweb.com
if this isn't already the case.
Otherwise I would be the best option to upload the complete source files for your website, e.g. on a temporary branch.
ok I will Thanks
I'm having a similar issue, and it ended up being my error.
In the config.toml
file, I forgot the trailing /
at the end of the baseurl
. This caused all other resources to not load. I don't know if it's just this theme or all of Hugo (it's my first install of Hugo), but that may help your issue.