fix: Correct Jinja2 template syntax error (missing endif removal)

Error: 'Encountered unknown tag else' - endif was closing the if block too early

Fix: Removed extra {% endif %} before {% else %}
- Line 232: Removed incorrect closing tag
- The {% else %} at line 234 is part of the hierarchical/simple mode conditional
- Proper structure: if hierarchical ... else simple ... endif

Tests:
- Template syntax validates ✓
- Search page loads ✓
- Hierarchical mode works ✓
This commit is contained in:
2026-01-01 15:54:44 +01:00
parent d824269606
commit 109d16b223

View File

@@ -229,7 +229,6 @@
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
{% endif %}
<!-- Simple display (original) --> <!-- Simple display (original) -->
{% else %} {% else %}