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

Support some form of inheritance/mixin block? #12

Open
rla opened this issue Oct 1, 2015 · 0 comments
Open

Support some form of inheritance/mixin block? #12

rla opened this issue Oct 1, 2015 · 0 comments

Comments

@rla
Copy link
Owner

rla commented Oct 1, 2015

frame.html:

<div class="wrap">
    {{ block }}
</div>

toplevel.html:

{{ mixin frame }}
    <h1>Hello</h1>
{{ end }}

produces:

<div class="wrap">
    <h1>Hello</h1>
</div>
@rla rla added the enhancement label Oct 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant