[Refactor] Split index.html to base.html and welcome.html
This commit is contained in:
parent
a0d630d9bf
commit
1f3cb17751
@ -32,7 +32,7 @@ app = CalendarSocialApp(__name__)
|
||||
|
||||
@app.route('/')
|
||||
def hello():
|
||||
return render_template('index.html')
|
||||
return render_template('welcome.html')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
5
app/templates/welcome.html
Normal file
5
app/templates/welcome.html
Normal file
@ -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
Block a user