$ hugo server
Start building sites …
WARN 2021/04/07 11:51:50 Content directory "/Users/dan/dev/mcneel/rhino3d.com/content/en/reseller" have both index.* and _index.* files, pick one.
My reseller section contains an _index.md branch page:
$ ls -al content/en/reseller/
total 32
drwxr-xr-x 11 dan staff 352 Jan 20 12:58 .
drwxr-xr-x 34 dan staff 1088 Mar 3 08:32 ..
-rw-r--r-- 1 dan staff 2708 Jan 8 15:26 _index.md
drwxr-xr-x 3 dan staff 96 Jan 8 15:24 as
drwxr-xr-x 3 dan staff 96 Jan 8 15:24 emea
drwxr-xr-x 20 dan staff 640 Jan 7 16:25 graphics
drwxr-xr-x 3 dan staff 96 Jan 8 15:24 la
drwxr-xr-x 3 dan staff 96 Jan 8 15:24 na
drwxr-xr-x 3 dan staff 96 Jan 8 15:24 pa
drwxr-xr-x 37 dan staff 1184 Jan 20 12:58 support
Each of the subsections contains a leaf bundle with an index.md. For example:
$ ls -al content/en/reseller/as
total 8
drwxr-xr-x 3 dan staff 96 Jan 8 15:24 .
drwxr-xr-x 11 dan staff 352 Jan 20 12:58 ..
-rw-r--r-- 1 dan staff 2613 Jan 8 15:25 index.md
I have verified that none of the child leaf bundles have an branch file…
I’m using this exact same pattern in numerous sections of my site but, for some reason, only this particular reseller section is producing this warning.
I’m confused.
I’m running v0.81.0:
$ hugo version
hugo v0.81.0+extended darwin/amd64 BuildDate=unknown
Ah yes, I forgot to mention that I had already tried a bisect without luck. Good idea though…unless you are referring to all the files in the entire site. I haven’t gone that far yet.
But this is mildly interesting/maddening…if I delete all the content in that section, leaving only the reseller/_index.md file, I still get the same warning. (NOTE: I’m running a git clean -dxf between tests to make sure that all build artifacts are flushed).