Is it possible and simple to change the content directory?

Hi, I’d like to change where my md files are going to be stored. In this way I can have an empty and configured Hugo application and set the content directory one level above the HUGO directory.

Hello @Vahn,

you can change the content directory with the contentDir in the config file.

Thank you very much. Do you know also if it is possible, instead of using a directory, to pass a list of link of md`s to Hugo and obtain the same result?

Could you elaborate this a bit more? Are you talking about a list of paths to content files?

@Vahn Look into permalink settings, which you can use to set entire sections of content to a specific URL…

This is the updated Hugo-docs Permalink URL:

1 Like