linking custom CSS in flask 1

linking custom CSS in flask

{% block styles %}
{{super()}}

{% endblock %}

Here is what the above code is Doing:
1. The first line of the template is the Jinja2 block tag. It tells Jinja2 that the block named styles is being defined.
2. The second line is the Jinja2 super() function. It tells Jinja2 to inherit the styles block from the base template.
3. The third line is a link tag that loads the mystyle.css file.

Similar Posts