hugo new

created onAugust 17, 2025
rudolf@idoru:/opt/intra/site/dev/codebase/content/techdoc/frontend/hugo/code-shreds(main)$ hugo new section.md Error: no existing content directory configured for this project

only works as expected when invoked outside the content dir. Additionally, the page kind is not automatically resolved but must be given with the argument .

Some sources on the internet state that the root cause of this is that the parameter ‘contentDir’ is not defined. Yet, with defined, the problem still persists.

x