parameters: ()
return_statement: return make_response(render_template('index.html', **context))
docstring: Example view rendering a simple page.
docstring_summary: Example view rendering a simple page.
docstring_tokens: Example view rendering a simple page .
function: def index():
      """
      Example view rendering a simple page.
      """
      context = make_context(asset_depth=1)
  
      with open('data/featured.json') as f:
          context['featured'] = json.load(f)
  
      return make_response(render_template('index.html', **context))
function_tokens: def index ( ) : context = make_context ( asset_depth = 1 ) with open ( 'data/featured.json' ) as f : context [ 'featured' ] = json . load ( f ) return make_response ( render_template ( 'index.html' , * * context ) )