def get(self): max = Level.getByMaxJackpot() score = Level.getByHighScore() popular = Level.getByMostPlayed() template_values = { 'max': max, 'score': score, 'popular': popular } template = jinja_environment.get_template('index.html') self.response.out.write(template.render(template_values))