[Refactor] Split index.html to base.html and welcome.html

This commit is contained in:
Gergely Polonkai 2018-06-29 07:58:28 +02:00
parent a0d630d9bf
commit 1f3cb17751
3 changed files with 6 additions and 1 deletions

View File

@ -32,7 +32,7 @@ app = CalendarSocialApp(__name__)
@app.route('/')
def hello():
return render_template('index.html')
return render_template('welcome.html')
if __name__ == '__main__':

View 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 %}