Run locally only with Public folder

I’m trying to test some changes to an example site but I only have the public folder and all of its content. When I run the ‘Hugo Serve’ command from inside the project directory I get the following error:

Error: Unable to locate config file or config directory. Perhaps you need to create a new site.
   Run `hugo help new` for details.

Is there a way I can generate the config and content files from the files I have in the Public folder?


No, you cannot.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.