Closed ninjasort closed 8 years ago
I'm not sure I quite understand the problem or the solution. pagination.files
metadata should never be changed, those are references to actual files. Maybe you mean pagination.pages
?
I had an issue where I wasn't getting an excerpt property from a previous plugin in the pipeline and think that metadata should be set from the existing pipeline. For example, I shouldn't need to set the metadata for the excerpt because it's already been set.
That patch actually isn't working correctly for me. The tests pass but I'm not sure why it's not working.. I'll take another look tomorrow.
So it turned out that the metadata I was assigning was on a file not a collection. That's interesting how you can't really set file data after metalsmith-collections is run.