Refactor the templates so the main HTML file extends a base one #4
|
@ -32,7 +32,7 @@ app = CalendarSocialApp(__name__)
|
|||
|
||||
@app.route('/')
|
||||
def hello():
|
||||
return render_template('index.html')
|
||||
return render_template('welcome.html')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<p>Welcome to Calendar.social. There will be lot of content here soon!</p>
|
||||
{% endblock content %}
|
Loading…
Reference in New Issue