author | Tero Marttila <terom@paivola.fi> |
Wed, 10 Oct 2012 21:39:54 +0300 | |
changeset 0 | 91c739202f06 |
child 1 | 731d2df704f0 |
permissions | -rw-r--r-- |
# view from pvl.html import tags as html def render_layout (title, content) : css = [ "/static/layout.css", "/static/style.css", ] return html.document(html.html( html.head( html.title(title), ( html.link(rel='Stylesheet', type="text/css", href=src) for src in css ), ), html.body( html.h1(title), content ) ))