Template Extensions

Notes

In this video we make our template code more DRY by refactoring into a base template all the "boilerplate" code that we frequently reuse, and then using template extensions to expand and individualize that HTML.

Check out the Jinja2 documentation.

Code

View the final code from this lesson.