Problem with build

Hi

I’m trying to build my page with the currently set theme to the public folder to deploy it.

When I run hugo server it looks good.
But when I run hugo to build to the public folder all types of theme specific stuff seem to be missing, also links are broken.

How can I investigate the cause or fix it?

How do you check this?

install a local web server to check the generated pages!

Ex. for Windows use https://sourceforge.net/projects/apache2portable/

In my experience, it’s usually because paths to various files (your theme) are broken.
Try using Inspect Tools to check where the paths are pointing to, usually it’s a matter of using …/ to go up directory levels and checking if paths are correct.