Assuming you have something like this in your layout.html head:
<title>{{=response.title}}</title>
you just have to set the value of response.title separately for each page.
You could do this in the controller, or in the view before the {{extend
'layout.html'}} directive:
def mypage():
response.title = 'My Page'
[etc.]
or in /views/mycontroller/mypage.html:
{{response.title = 'My Page'}}
{{extend 'layout.html'}}
Anthony
On Friday, April 20, 2012 11:57:22 AM UTC-4, Hassan Alnatour wrote:
>
> Dear ALL ,
>
> I am using a master page , now how can i let every page has its own title
> tag ??
>
>
> Best Regards,
>