Bootstrap templates auto-generated? Bootstrap templates auto-generated? flask flask

Bootstrap templates auto-generated?


The base templates are part of the Flask-Bootstrap package you installed. You extend the boostrap base template and override the blocks in it to create a page with a standard layout. You still need to write bootstrap related markup. This is explained right in the docs you linked to.

my_project/templates/my_page.html:

{% extends "bootstrap/base.html" %}{% block title %}This is an example page{% endblock %}{% block navbar %}<div class="navbar navbar-fixed-top">  <!-- ... --></div>{% endblock %}{% block content %}  <h1>Hello, Bootstrap</h1>{% endblock %}