r-lib / hugodown

Make websites with hugo and RMarkdown
https://hugodown.r-lib.org
Other
166 stars 24 forks source link

Hugo 123.0 and later renders to disk by default #114

Open maelle opened 3 months ago

maelle commented 3 months ago

Per https://discourse.gohugo.io/t/upgrading-to-go1-22-1-hugo-0-124-1-causes-multiple-errors/49013/8

With v0.123.0 and later, Hugo’s development server renders to disk in the public directory.

https://gohugo.io/commands/hugo_server/

So depending on the Hugo version, the current logic for the render_to_disk argument of hugo_start() is wrong.