def people_list(db): for person in db['people']: yield render_page({'person': person}, name=person['name'].replace(' ', '_'))
def index(): return render_page({})