Ok. But the purpose of layout.html is to define the "layout". It is
effectively the parent who pays for the house and determines what room
the child gets.

I don't think I am quite fully grasping the concept that you have.
Could you provide me with a code example of how you would like it to
look, and I hope that will give me a better idea of what you are
thinking about.

--
Thadeus





On Thu, May 6, 2010 at 2:45 AM, Yarko Tymciurak
<[email protected]> wrote:
> Location-only modification:
> -1-  {{&block  name}}  (reminsicent of C's "address of", to suggest
> "this location ....
>     This block would insert it's location in the emit tree;  it would
> not alter the token's value
>      It would probably make sense to not have an {{end}} for this
> occurrence.
>      Let's call having an {{end}} fore this an error!
>
> Value-only modification:
> -2- {{$block name}}  (reminiscent of shell notation to emit value)
>     This block would alter the token for this block, but would not
> alter the token's position on the emit tree.
>      This block would require and {{end}}
>
> I have to think about this one, but think it is needed...
> -3- �...@block name}} - this is the last uncovered case (reminiscent of
> pythons wrapper notation)
>     This block would alter the value of the token for this block,
>      but would not alter the  token's position on the emit tree.
>      While syntactically not required, stylistically, this token
> belongs inside the {{extend}} block

Reply via email to