You can define vars in inner template, and get their values in base, like 
this:

page.html:

$def with(title)
$var title: $title

base.html:

$def with(page)
<title>$page.get("title","Default title")</title>
$:page


-- 
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