Closed jspiers closed 3 years ago
I am able to fix this by editing the generated "public/index.html" file and removing the leading slash from the external stylesheet reference:
<link rel="stylesheet" href="/css/eureka.min.css">
becomes
<link rel="stylesheet" href="css/eureka.min.css">
Ah... sorry. I see now that the problem was with my baseURL setting. My bad.
Describe the bug
When following the Getting Started guide, the site works correctly when using the local
hugo server
, but the static site generated atpublic/index.html
with thehugo
command has no style. See screenshot.To Reproduce
I also tried installing the theme over a virgin hugo site (i.e. add a step
hugo new site .
after thegit init
step above, and delete the generated config.toml file), and it made no difference.Environment