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

Blocks cant be redefined! #79

Open
nfour opened this issue Jul 26, 2014 · 0 comments · May be fixed by #80
Open

Blocks cant be redefined! #79

nfour opened this issue Jul 26, 2014 · 0 comments · May be fixed by #80

Comments

@nfour
Copy link

nfour commented Jul 26, 2014

<% extend 'layout' %>

<div id="<%- @id %>">
    <h1><%- @upperHelper @title %></h1>
    <% include 'list' %>
</div>

<% block 'footer-info' : %>
    <div class="right">page: isStillThis</div>
<% end %>
<% block 'footer-info' : %>
    <div class="right">page: shouldBeThis</div>
<% end %>

This can be reproduced on the website by adding another footer-info block.

I would have expected the footer-info to be overwritten but it never is, as I've been trying to use this concept as a way to mimic #50.

The issues seem to keep piling up @baryshev, have you considered adding on more contributors? #50, #75 and this seem like nice and straightforward feature additions.

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 a pull request may close this issue.

1 participant