def home(): pages = current_wiki.index() page = Page.get_highest_page_from_unversioned_file(pages, 'home') # page = current_wiki.get('home') if page: return display(page.url) return render_template('home.html')