16/09/2026
These two images show the HTML/Jinja template and the output produced in the browser.
But before we look at the individual code, let's understand something important: base.html.
Think of base.html as a blueprint for the other
HTML pages in our Flask application.
Other templates can inherit from base.html and then add their own content inside the defined blocks.
This means we don't have to write the same HTML structure again and again for every page.
In the next part, we'll look at how Jinja inheritance works with base.html and what each part of the code actually does. 🐍💻
Learning by building Mikis Hacking School — one concept at a time.