Beispiel #1
0
 def view_b():
     html.block('title')('New Title')
     return render_template()
Beispiel #2
0
 def view_a():
     return render_template()
Beispiel #3
0
 def view_a():
     g.attrs['description'] = 'A description'
     return render_template()
Beispiel #4
0
 def view_a():
     html.block('container')(
         html.div('Container content.')
     )
     return render_template()
Beispiel #5
0
 def return_root():
     return render_template()
Beispiel #6
0
 def return_root():
     g.blocks['body'] = 'Hello, World!'
     return render_template()