Open Aintaer opened 11 years ago
Using an index.json:
{ "content" : { "list" : "post", "limit" : 1 }, "partials" : { "navigation" : "navigation" } }
Causes blacksmith to error out at:
node_modules\blacksmith\lib\blacksmith\page.js:158 metadata: source._content.metadata, ^ TypeError: Cannot read property 'metadata' of undefined
AFAIK, this happens due to blacksmith attempting to render the partials with metadata where none exists due to the page being entirely generated from posts, hence having no metadata of its own.
Using an index.json:
Causes blacksmith to error out at:
AFAIK, this happens due to blacksmith attempting to render the partials with metadata where none exists due to the page being entirely generated from posts, hence having no metadata of its own.