zwbetz-gh / cupper-hugo-theme

An accessibility-friendly Hugo theme, ported from the original Cupper project.
https://cupper-hugo-theme.netlify.app/
MIT License
301 stars 190 forks source link

Site render problem #15

Closed donho closed 5 years ago

donho commented 5 years ago

(It's rather a support request)

Everything go fine in local mode by using hugo.exe server -D. However while I try to render the site by using only hugo.exe, the page (under public folder) display become a mess:

image

Could you en-light me how I should render cupper-hugo-theme ? BTW my hugo version is Hugo Static Site Generator v0.57.2/extended windows/amd64.

`

zwbetz-gh commented 5 years ago

This is because browsing your site via hugo server is different than browsing it via local file system.

donho commented 5 years ago

@zwbetz-gh Thank you for your prompt reply.

This is because browsing your site via hugo server is different than browsing it via local file system.

I didn't browse it on my local system. I generate the static site by using the command hugo.exe instead of hugo.exe server -D, then deploy all the content in "public" folder to my site via ftp.

donho commented 5 years ago

Oups, it's a PEBCAK - Thanks to your reply I realize I didn't set baseURL right in config.toml file. Thank you for your assistance!