diff --git a/app.py b/app.py index 092d05d..8cbfaca 100644 --- a/app.py +++ b/app.py @@ -1,5 +1,5 @@ from flask import Flask, render_template -from flask_bootstrap import Bootstrap5 # Use Bootstrap5 for modern BS5 +from flask_bootstrap import Bootstrap5 # Updated import for Bootstrap 5 support app = Flask(__name__) bootstrap = Bootstrap5(app) diff --git a/requirements.txt b/requirements.txt index 6100feb..660fe77 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ flask==3.0.3 -flask-bootstrap==0.14.0 # Latest version supporting BS5 +bootstrap-flask==2.5.0 diff --git a/templates/index.html b/templates/index.html index 64e5951..7e73e48 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,13 +1,7 @@ -{% extends "bootstrap/base.html" %} -{% import "bootstrap/fixes.html" as fixes %} +{% extends "bootstrap5/base.html" %} {% block title %}Professional Demo Site{% endblock %} -{% block head %} -{{ super() }} -{{ fixes.ie8() }} -{% endblock %} - {% block styles %} {{ super() }}