Skip to content

Blocks cant be redefined! #79

@nfour

Description

@nfour
<% 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions