diff --git a/app/templates/home/explore_books.html b/app/templates/home/explore_books.html index 26256ad..a9bae5a 100644 --- a/app/templates/home/explore_books.html +++ b/app/templates/home/explore_books.html @@ -43,7 +43,12 @@ id="explore-books" role="tabpanel" aria-labelledby="explore-books-tab"> - {% for book in books if not book.is_deleted %} + {% if not books.total %} + + {% endif %} {% for book in books if not book.is_deleted %}
{{book.label}}
diff --git a/app/templates/home/index.html b/app/templates/home/index.html index e3b8198..1e8bd5a 100644 --- a/app/templates/home/index.html +++ b/app/templates/home/index.html @@ -35,6 +35,12 @@