Intro to Jinja2 Templates.
Topics:
1. Template Inheritance & Blocks
2. Template Variables, Control Structures, & Filters
3. Using Templates with Flask-WTF
4. Using Templates with Flask-Admin
All examples are taken from https://wakatime.com source code.
2. Blocks ( templates/common/base.html )
Blocks name parts of your template, and can be re-used in child templates.
<html>
<title>{% block title %}My Website{% endblock %}</title>
<body>
{% block body %}
{% endblock %}
</body>
</html>