hugo v0.89.4-AB01BA6E+extended linux/amd64 BuildDate=2021-11-17T08:24:09Z VendorInfo=gohugoio
panic: [BUG] no Page found for ...
archetypes/default.md
+++
title = '{{ replace .Name "-" " " | title }}'
date = {{ .Date }}
draft = false
+++
{{ .Site.Title }}
structure
content/
└── test/
└── _index.md
content/test/_index.md
+++
title = 'Tests'
date = 2021-11-21T17:33:19-08:00
draft = true
+++
command
hugo new test/foo.md
This was introduced in v0.89.0.
MRE:
git clone --single-branch -b hugo-github-issue-9196 https://github.com/jmooring/hugo-testing hugo-github-issue-9196
cd hugo-github-issue-9196
hugo new test/foo.md
hugo v0.89.4-AB01BA6E+extended linux/amd64 BuildDate=2021-11-17T08:24:09Z VendorInfo=gohugoio
archetypes/default.md
structure
content/test/_index.md
command
This was introduced in v0.89.0.
MRE:
Reference: https://discourse.gohugo.io/t/35677/