Refactor the templates so the main HTML file extends a base one #4

Merged
gergely merged 1 commits from template-refactor into master 2018-06-29 07:17:08 +00:00
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 %}