Closed ismay closed 10 years ago
So it seems that passing inPlace: true
to metalsmith-templates renders all handlebars syntax in the files in ./src
, but then it does not apply the template from ./templates
(as specified in each files' front-matter) to the rendered file.
Also, this issue seems to be a duplicate of #22 and https://github.com/segmentio/metalsmith/issues/75, closing.
I'd like to use handlebars syntax in my source files (the files in
./src
) as well as in my template files (in `./templates). Right now, this doesn't seem to be working for me.For example:
./src/index.html
and
./templates/default.html
Is processed to
./dist/index.html
:Is it normal for metalsmith not to process the files in src (other than applying the template to them)? And if so, would it be possible for metalsmith to do so?
My source code is here: https://github.com/superwolff/cape/tree/handlebars-layouts And I don't think this issue is related to issue 24, but correct me if I'm wrong