Prev_Next page?

Hi, how can I get a prev next navigation in my site? I use antimatter theme, no subpages. All pages called

Well… your pages has to be in collection in order for prev next to work. See
Then you can try this code.

<p class="prev-next">
   {% if not page.isFirst %}
     <a class="button" href="{{ page.nextSibling.url }}"><i class="fa fa-chevron-left"></i> Next Post</a>
   {% endif %}

   {% if not page.isLast %}
     <a class="button" href="{{ page.prevSibling.url }}">Previous Post <i class="fa fa-chevron-right"></i></a>
   {% endif %}

Is that right:

in my system.yaml:
by: default
dir: asc
pagination: true

Then your code in base.html.twig?