diff --git a/hello/templates/base.html b/hello/templates/base.html index 469380f..3dacb09 100644 --- a/hello/templates/base.html +++ b/hello/templates/base.html @@ -4,7 +4,7 @@ - Hello Flask + {{ page_title }} diff --git a/hello/views.py b/hello/views.py index 263d4ea..6814f57 100644 --- a/hello/views.py +++ b/hello/views.py @@ -16,4 +16,4 @@ def index(): db.session.commit() return redirect(url_for('index')) comments = Comment.query.order_by(db.desc(Comment.timestamp)) - return render_template('index.html', comments=comments, form=form) + return render_template('index.html', page_title = "Hello, Flask!", comments=comments, form=form)