Skip to content

Conversation

@zwade
Copy link

@zwade zwade commented Oct 13, 2022

Hi, I'm interested in adding partial block support to pybars3 for use in one of my projects! This is my first time contributing to pybars so I'm not sure what the current status of external contributions is, but if you're willing to accept contributions I'm happy to work within your guidelines & best practices!

This PR adds in support for the partial block feature of handlebar. It adds the bear minimum functionality, namely fallbacks for missing templates and the use of the special {{> @partial-block}} partial for embedding content from caller to callee.

Let me know if this is something you're willing to include in the library, and what additional changes are needed to get there.

Thanks!

(addresses #72)

* Supports partial blocks for use with fallbacks
* Supports partial blocks with the {{> @partial-block }} template
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

Successfully merging this pull request may close these issues.

1 participant