Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'layout' and 'template' meta data variable #42

Closed
saneef opened this issue Aug 22, 2015 · 1 comment
Closed

'layout' and 'template' meta data variable #42

saneef opened this issue Aug 22, 2015 · 1 comment

Comments

@saneef
Copy link

saneef commented Aug 22, 2015

To make metalsmith-layout, a drop-in replacement for the deprecated metalsmith-templates, is it possible to use template meta data in addition to the existing layout?

It also, helps metalsmith-layout to work seamless with other plugins like 'metalsmith-pagination',…

@ismay
Copy link
Member

ismay commented Aug 22, 2015

I don't think that should be a responsibility of metalsmith-layouts. However you could write a plugin that modifies all template keys in the front-matter to layout. I'd have no problem linking to it in the readme.

@ismay ismay closed this as completed Aug 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants