display number of results in search

This commit is contained in:
teddit
2021-01-20 21:33:48 +01:00
parent e0177482b2
commit da9bf3b3e0
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -100,6 +100,7 @@ html
if json.posts.length === 0 && !no_query
p no results
else
p.number-of-results results: #{json.posts.length}
each link in json.posts
.link
.upvotes