summaryrefslogtreecommitdiff
path: root/tmpl/term-list.html
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl/term-list.html')
-rw-r--r--tmpl/term-list.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/tmpl/term-list.html b/tmpl/term-list.html
index d0b060c8..2088ac71 100644
--- a/tmpl/term-list.html
+++ b/tmpl/term-list.html
@@ -1,5 +1,9 @@
{{> header.html}}
-{{#each definitions}}
-{{> term.html addable=../addable root=../root options=../options sequence=../sequence}}
-{{/each}}
+{{#if definitions}}
+ {{#each definitions}}
+ {{> term.html addable=../addable root=../root options=../options sequence=../sequence}}
+ {{/each}}
+{{else}}
+ <p>No results found</p>
+{{/if}}
{{> footer.html}}