2010/9/29 Ranganath s <[email protected]>:
> Hi group,
>       I need some clarification on template inheritance of templator
> template of webpy. say i have basic.html and xyz.html. If i need to extend
> xyz.html from basic.html, how do i go about doing that ? can some one please
> throw light on this.

Templates really like python functions.

If you want to support something like layout template, then you need
to do like this:

render.layout(render.page(page))

Anand

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to