From 109d16b223f5dd39e44ef2c915bd64607b78ffe7 Mon Sep 17 00:00:00 2001 From: David Blanc Brioir Date: Thu, 1 Jan 2026 15:54:44 +0100 Subject: [PATCH] fix: Correct Jinja2 template syntax error (missing endif removal) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 ✓ --- generations/library_rag/templates/search.html | 1 - 1 file changed, 1 deletion(-) diff --git a/generations/library_rag/templates/search.html b/generations/library_rag/templates/search.html index 23e35a7..7b9510d 100644 --- a/generations/library_rag/templates/search.html +++ b/generations/library_rag/templates/search.html @@ -229,7 +229,6 @@ {% endfor %} - {% endif %} {% else %}