Skip to content

Commit

Permalink
🐛🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgfierro committed Feb 2, 2022
1 parent 67c2035 commit 1433cff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blog/templates/desktop/blog/post_list.html
Expand Up @@ -58,7 +58,7 @@ <h1 class="title" style="margin-top: 3rem">There are no posts</h1>

<!-- Append the page if there is a search -->
{% if search %}
<a href="?q={{ search }}&page={{ page_obj.previous_page_number }}">»</a>
<a href="?q={{ search }}&page={{ page_obj.previous_page_number }}">«</a>
{% else %}
<a href="?page={{ page_obj.previous_page_number }}">«</a>
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion blog/templates/mobile/blog/post_list.html
Expand Up @@ -58,7 +58,7 @@ <h1 class="title" style="margin-top: 3rem">There are no posts</h1>

<!-- Append the page if there is a search -->
{% if search %}
<a href="?q={{ search }}&page={{ page_obj.previous_page_number }}">»</a>
<a href="?q={{ search }}&page={{ page_obj.previous_page_number }}">«</a>
{% else %}
<a href="?page={{ page_obj.previous_page_number }}">«</a>
{% endif %}
Expand Down

0 comments on commit 1433cff

Please sign in to comment.