Settings > Templates > Template folder location
The folder you chose there must already exist somewhere in the hierarchy of your vault’s folders. So, if you want for example to keep templates in a folder at the root of the vault, then create a folder there, then assign it as the template folder in Settings, as noted above.