I thought it would be neat to have my main menu also displayed in the
footer but formatted differently

<div id="menu">
{% block main_menu %}
...
{% endblock %}
</div>

<div id="footer">
{% block main_menu %}
...
{% endblock %}
</div>

however I got this error

"TemplateSyntaxError: 'block' tag with name 'main_menu' appears more
than once"

apart from infinite recusion scenarios (which can be protected
against), how possible would it be to have repeated blocks? Is it
practical?


Alice

Reply via email to