Answer the question
In order to leave comments, you need to log in
How to render template part of jinja2 parent?
Hello, there is a basic template
{% block topnav %}
{% for menu in menus %}
<a href ='{{ url_for("secWiev", slug ={{menu.slug}})'>{{ menu.name}}</a>
{% endfor %}
{% endblock%}
{% block rightnav %}
{% endblock%}
{% block rightnav %}
{% endblock%}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question