version inicial, con base de datos, sesiones y templates
[webpysample.git] / templates / layout.html
1 $def with (content)
2
3 <html>
4     <head>
5         <title>$content.title</title>
6
7         $if content.get('cssfiles', ''):
8             $for f in content.cssfiles.split():
9                 <link rel="stylesheet" href="$f" type="text/css" media="screen" charset="utf-8"/>
10     </head>
11
12     <body>
13         $:content
14     </body>
15 </html>