We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 949cc64 commit 60f796eCopy full SHA for 60f796e
app/Resources/views/blog/index.html.twig
@@ -17,9 +17,11 @@
17
<div class="well">{{ 'post.no_posts_found'|trans }}</div>
18
{% endfor %}
19
20
- <div class="navigation text-center">
21
- {{ pagerfanta(posts, 'twitter_bootstrap3_translated', { routeName: 'blog_index_paginated' }) }}
22
- </div>
+ {% if posts.haveToPaginate %}
+ <div class="navigation text-center">
+ {{ pagerfanta(posts, 'twitter_bootstrap3_translated', { routeName: 'blog_index_paginated' }) }}
23
+ </div>
24
+ {% endif %}
25
{% endblock %}
26
27
{% block sidebar %}
0 commit comments