When I use the command hugo, it generates the index.html in the Public folder. When I open index.html, the site load like this:
But when I use the hugo serve command locally, it generates the link http://localhost:1313/, and the site load properly. It loads like this:
I think the problem is because of the not proper rendering of files or anything similar.
My approach:
- I added the code relativeURLs = trueanduglyURLs = trueat top of theconfig.tomlfile but still it does not rendered properly.
- I had set baseurl = "/"inconfig.tomlfile but this also does not work.


 
     
     
     
    
 
     
    