]> Raphaƫl G. Git Repositories - blogbundle/blobdiff - Resources/views/article/index.html.twig
Add apache, haproxy, http, proxy, quic, mageia and google keywords
[blogbundle] / Resources / views / article / index.html.twig
index 3f0abf6ba69f939022fd6cffb17768e11a25ea84..512e0fa26f8a5803ed33cbfd5b8fd2188ebc11c9 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>