I tried several themes, but I do not see the
public folder generated even if my blog runs well.
Even when I created the
public folder manually and set
publishDir = "public" in
config.toml file, I see no output files inside
What am I missing? I need the public folder with the output files there.
Thank you for your suggestions/help.
hugo to generate the files.
If you want the files to be generated by
hugo server, use the
--renderToDisk switch. It’s off by default, because rendering in memory is faster.
That was helpful. Thank you very much.
Sorry if my question was stupid, but I am new to Hugo and did search during this weekend but did not find a solution when I read the documentation.
Thank you a lot.
No problem. There’s a lot to get through. That
hugo writes to
public is here:
The switch is more esoteric. You can do
hugo --help or
hugo server --help for more info at the CLI (works on Mac, should work on Linux, not sure about Windows).
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.