I’m encountering unexpected behavior, and I’m not sure if it’s a bug or a misapprehension on my part.
I’ve got a collection,
people. There’s a directory,
_people, containing a document, name
.md, for each person. There’s also a photo, name
.jpg, in this directory for each person.
I’ve not set
true for the collection; I render it in an index page. I want to render a thumbnail photo for each individual here.
When I build the site, a
people directory is created in
_site. That’s surprise #1; I wouldn’t expect a directory created to house a collection to be transformed into a like-named directory (sans the leading underscore) in the site. Surprise #2 is that the image files are copied into this directory, but they don’t appear in
I’m guessing that the treatment of static files in a collection directory is undefined, and I ought not to do this?