id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux
6370 Templates {% block %} does not work properly in {% if %} brandemk@… nobody "When I use the following code:
{% if site %}
{% block titlebar %}{% endblock %} § {{ site.name }}
{% else %}
{% block titlebar %}{% endblock %} § Website
{% endif %}
I get an error: titlebar block appears more than once.
While I do not see why an block cannot appear more than once, I do not see a reason that that cannot be valid. The titlebar block will only be rendered once." closed Template system 0.96 wontfix Unreviewed 0 0 0 0 0 0