I have a pretty simple site with the following structure
/contents
== index.md
==/papers
==== _index.md
====paper1.md
====paper2.md
When I use the hugo server
command, my site is locally built normally. But when I use hugo
to build the site, the papers folder is ignored. In particular, if I open the files in the public/papers folder are still the ones produces by hugo server
and are not ready to be deployed (links using localhost instead of my real site address, no minification and so on). I even tried to delete everything from the public folder and run hugo
and the papers folder is not even created in public. How can I solve this?