Block Tag Inside Url_for() In Jinja2
I'm using Jinja2 to render my frontend (and python is on the backend). Each page will have a different image on its top, like this: >
{%- endmacro %}
You can put this macro in an util template and import it in each page.
Use the syntax:
<header>{{ header_img("your_image.jpg") }}</header>
Post a Comment for "Block Tag Inside Url_for() In Jinja2"