]> Raphaƫl G. Git Repositories - blogbundle/blobdiff - Resources/views/index.html.twig
Add user view
[blogbundle] / Resources / views / index.html.twig
index 04c49e4a27803165908b01abe7fb9143adac1171..464fd8a0c78def1fa8f1f1cb4425b9bb2fb65d9d 100644 (file)
                                </article>
                        {% endfor %}
                </section>
-               {% if articles_prev is defined or articles_next is defined %}
+               {% if head.prev is defined or head.next is defined %}
                        <footer>
                                <nav class="pager">
-                                       {% if articles_prev is defined %}
-                                               <a href="{{ articles_prev }}" rel="prev">&lt; {% trans %}Previous articles{% endtrans %}</a>
+                                       {% if head.prev is defined %}
+                                               <a href="{{ head.prev }}" rel="prev">&lt; {% trans %}Previous articles{% endtrans %}</a>
                                        {% endif %}
-                                       {% if articles_next is defined %}
-                                               <a href="{{ articles_next }}" rel="next">{% trans %}Next articles{% endtrans %} &gt;</a>
+                                       {% if head.next is defined %}
+                                               <a href="{{ head.next }}" rel="next">{% trans %}Next articles{% endtrans %} &gt;</a>
                                        {% endif %}
                                </nav>
                        </footer>