How to use Jinja2 Templates

python dev.to

This is the base html which essentially provides all the templating for the rest of the html files. As we can see below the navbar is templated to be reused throughout the rest of the files lang="en"> charset="UTF-8"/> name="viewport" content="width=device-width, initial-scale=1.0"/> {% block title %}Local Hub{% endblock %} href="https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Nunito:wght@400;600;700&display=swap" rel="stylesheet"/> /* GLO

Read Full Tutorial open_in_new
arrow_back Back to Tutorials