Sometimes, Hugo generates empty index.html in root directory:
<html><head></head><body></body></html>
There is no error. It depends from the moment, sometimes it works fine, sometimes empty.
hugo 0.151.2, Windows
Sometimes, Hugo generates empty index.html in root directory:
<html><head></head><body></body></html>
There is no error. It depends from the moment, sometimes it works fine, sometimes empty.
hugo 0.151.2, Windows
from your shown index file it looks like it’s failing to render your blocks.
but with just depends, sometimes …
what did you do when that happens?
when using hugo or hugo server
any logs --logLevel debug
maybe some weird problem in one of your block definitions or partials called…
maybe this one: Is it possible to reuse `baseof.html` on custom output format (HTML) template? - #3 by irkode
mabe best to share the code.
Can you try to build with hugo --printPathWarnings and see if it lists some warnings?
index.html generates fine for now, if error will return then I will check your solutions.