Netlify needs netlify.toml modified if you do a cp -a from exampleSite
richtong opened this issue · 0 comments
richtong commented
The current netlify.toml allows a push that servers out of the exampleSite which is great for just getting started.
Suggest a documentation fix so that there is an alternative build so it serves and you can adjust the Netlify build command to it easily by putting a file in ./exampleSits/netlify.toml and this will overwrite the netlify.toml in the main site. So if you actually do the copy it will build correctly, so
./exampleSite/netlify.toml ha:
[build]
publich = "public"
command = "hugo --gc"
This way you have the option to do the quick publish or you have the option to do the publish from main (in production where you don't want to use exampleSite). I can issue a PR for this if you like