@library.global_function
@library.render_with('landing/newsfeed.html')
def newsfeed(entries, section_headers=False):
 return {'updates': entries, 'section_headers': section_headers}

@ library . global_function @ library . render_with ( 'landing/newsfeed.html' ) def newsfeed ( entries , section_headers = False ) : return { 'updates' : entries , 'section_headers' : section_headers }
landing page news feed .