]> asedeno.scripts.mit.edu Git - bluechips.git/blob - bluechips/templates/base.mako
Setup basic templating; largely copied from BlueRhapsody
[bluechips.git] / bluechips / templates / base.mako
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4   <head>
5     <meta http-equiv="content-type" content="text/html; charset=utf-8" />
6     <title>${self.title()}</title>
7     ${h.stylesheet_link('/css/main.css')}
8   </head>
9   <body>
10     <h1>${self.title()}</h1>
11     <div id="content">
12       ${next.body()}
13     </div>
14   </body>
15 </html>
16
17 <%def name="title()">BlueChips</%def>