We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Partials are nice but it is difficult to pass in a huge block of html to a partial.
Say we have this template 'test.ect'
<div class="houses"> <% content %> </div>
then it would be cool to do something like:
<% include "test.ect" : %> <div>A</div> <% end %> <% include "test.ect" : %> <div>B</div> <% end %>
The text was updated successfully, but these errors were encountered:
I relied on this a lot in Jade. Would be a good addition.
It appears that something like this is possible now:
test.ect
<div class="houses"> <% content 'test-content' %> </div>
other.ect
<% block 'test-content' : %> <div>A</div> <% end %> <% include 'test' %>
Admittedly this is a workaround, and can't be used more than once because of #79.
Sorry, something went wrong.
No branches or pull requests
Partials are nice but it is difficult to pass in a huge block of html to a partial.
Say we have this template 'test.ect'
then it would be cool to do something like:
The text was updated successfully, but these errors were encountered: