aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/templates/search.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/templates/search.html b/source/templates/search.html
index 30ec77c1..1a80bb43 100644
--- a/source/templates/search.html
+++ b/source/templates/search.html
@@ -5,8 +5,11 @@ import re
import utils
%>
<div class="left inner">
-<h1>Articles containing the string <i>${query}</i></h1>
-<br />
+%if len(search_result) != 0:
+ <h1>Articles containing the string <i>${query}</i></h1>
+%else:
+ <h1>String <i>${query}</i> not found.</h1>
+%endif
<%
html = ""
feed_id = None
bgstack15