What you are doing is fine for the most part. What you will probably see 
more often is something like this:

=== controller ==
def quotes():
    quotes = ['this is quote 1', 'this is quote 2']
    return dict(quotes=quotes)

=== view ===
{{for quote in quotes:}}
  <h1>{{=quote}}</h1>
{{pass}}

Reply via email to