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
Support for handlebars partials #23
Comments
Hey @dscottboggs, I've also encountered situations where I thought this feature would really help. I am currently working on the next version in my spare time and I've been planning for ways to make use of And you are more than welcome to create a PR and work on this. 🙌 Here is how I am planning to implement this:Templates are rendered on initialization and along with writing the ...
"partials": {
"seo-tags": "seo-tags.hbs",
"nav-bar": "nav-bar.hbs",
}
... Reference: NOTE: If you have ideas for a better implementation, please feel free to suggest them. 😃 And I am glad you liked the project, thank you! 🙌❤️ |
Sweet, I'll try to work on adding that if I get the chance. |
This feature has been implemented! v0.2.0 Released! 🎉 |
It would be great if we could define partials and reference them in our templates. Ideally, I'd like to define a single layout template with a content block which could be filled in by a number of other templates.
I'd be happy to implement this if that would help, but I would like some guidance on how you'd like it integrated if I were to create a PR.
Thanks for the awesome project BTW 💯
The text was updated successfully, but these errors were encountered: