{{include}} must stay there for backwards compatibility.
Basically, {{include}} will take any line from the child template that
is not in a block that is declared in the parent and places it in
{{include}}
Simply, what gets left over is put into {{include}}.

Lets see if I understand you correctly

So what you are saying is, you want a block to be able to include the
block it is replacing in itself, IE: ``{{super}}``?

I do not understand what {{super some_part}} is supposed to accomplish ?

>From a user perspective, it would look like this?

#layout.html
<h1>
{{block title}}
   {{=request.function}}
{{end}}
</h1>

#index.html

{{block title}}
<div style="custom1">
 {{super}}
</div>
{{end}}

Which will render out to

<h1><div style="custom1">{{=request.function}}</div></h1>

? If I understand you correctly, then lets discuss the feasibility of this.

--
Thadeus





On Wed, May 5, 2010 at 9:42 AM, Yarko Tymciurak
<[email protected]> wrote:
> nclude}   # single insertion point of child content:  I argue this
> is useless - a special case of an empty block, but unfortunately
> _only_ one point, so ... rigi

Reply via email to