def render_page(path):
try:<EOL><INDENT>page = Page.get_by_url(request.path)<EOL><DEDENT>except NoResultFound:<EOL><INDENT>abort(<NUM_LIT>)<EOL><DEDENT>return render_template(<EOL>[page.template_name, current_app.config['<STR_LIT>']],<EOL>page=page)<EOL>
Internal interface to the page view.

    :param path: Page path.
    :returns: The rendered template.