diff --git a/backend/app/routes.py b/backend/app/routes.py index c644031..12b3d78 100644 --- a/backend/app/routes.py +++ b/backend/app/routes.py @@ -48,7 +48,7 @@ def explore(): next_url = url_for('explore', page=posts.next_num) if posts.has_next else None prev_url = url_for('explore', page=posts.prev_num) if posts.has_prev else None - return render_template('index.html', title='Explore', posts=posts.items, next_url=next_url, prev_url=prev_url) + return render_template('explore.html', title='Explore', posts=posts.items, next_url=next_url, prev_url=prev_url) @app.route('/login', methods=['GET', 'POST']) def login(): diff --git a/backend/app/templates/base.html b/backend/app/templates/base.html index ff4f233..deaf3df 100644 --- a/backend/app/templates/base.html +++ b/backend/app/templates/base.html @@ -11,12 +11,12 @@