Browse Source

fix pagination links

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

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

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

Loading…
Cancel
Save