Browse Source

fix pagination links

master
ghost 10 months ago
parent
commit
877588f566
  1. 4
      templates/default/main/index.html.twig
  2. 4
      templates/default/main/namespace.html.twig

4
templates/default/main/index.html.twig

@ -48,7 +48,7 @@ @@ -48,7 +48,7 @@
'part':request.get('part') - 1,
'search':request.get('search')
}
) }}">{{ 'older' | trans }}</a>
) }}">{{ 'newer' | trans }}</a>
|
{% endif %}
<a rel="nofollow" href="{{
@ -58,7 +58,7 @@ @@ -58,7 +58,7 @@
'part':(request.get('part') ? request.get('part') : 1) + 1,
'search':request.get('search')
}
) }}">{{ 'newer' | trans }}</a>
) }}">{{ 'older' | trans }}</a>
</div>
<div class="t-center px-16">
<div class="pb-16 f-s-12">

4
templates/default/main/namespace.html.twig

@ -50,7 +50,7 @@ @@ -50,7 +50,7 @@
'search':request.get('search'),
'namespace':request.get('namespace')
}
) }}">{{ 'older' | trans }}</a>
) }}">{{ 'newer' | trans }}</a>
|
{% endif %}
<a rel="nofollow" href="{{
@ -61,7 +61,7 @@ @@ -61,7 +61,7 @@
'search':request.get('search'),
'namespace':request.get('namespace')
}
) }}">{{ 'newer' | trans }}</a>
) }}">{{ 'older' | trans }}</a>
</div>
<div class="t-center px-16">
<div class="pb-16 f-s-12">

Loading…
Cancel
Save