擅长:python、mysql、java
<pre><code>def test(**kwargs)
"""Renders the careers page."""
return render_template(
'content/loader.html',
**kwargs
)
@app.route('/test2')
def test2():
return test(title='test2',year=datetime.now().year,message='Your Test page.', main_nav_active_='', layout_template='/layouts/default.html', content_template='clarity.html')
@app.route('/test3')
def test3():
return test(title='test3',year=datetime.now().year,message='Your Test page3.', main_nav_active_='', layout_template='/layouts/default.html', content_template='foo.html')
</code></pre>