File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # v1.4.5
2+ ## 02/03/2024
3+
4+ 1 . [ ] ( #bugfix )
5+ * Fixed an error in pagination URLs with system level Absolute URLs enabled [ #60 ] ( https://github.com/getgrav/grav-plugin-pagination/issues/60 )
6+
17# v1.4.4
28## 05/10/2023
39
Original file line number Diff line number Diff line change 11name : Pagination
22slug : pagination
33type : plugin
4- version : 1.4.4
4+ version : 1.4.5
55description : " **Pagination** is a very useful plugin to help navigate a large collection of pages, such as for a **blog**."
66icon : list-ol
77author :
Original file line number Diff line number Diff line change 55
66<ul class =" pagination" >
77 {% if pagination .hasPrev %}
8- {% set url = (base_url ~ pagination .params ~ pagination .prevUrl ) | replace ({' //' :' /' }) %}
8+ {% set url = (base_url ~ pagination .params ~ pagination .prevUrl | replace ({' //' :' /' }) ) %}
99 <li ><a rel =" prev" href =" {{ url }}" >« </a ></li >
1010 {% else %}
1111 <li ><span >« </span ></li >
1616 {% if paginate .isCurrent %}
1717 <li ><span class =" active" >{{ paginate .number }}</span ></li >
1818 {% elseif paginate .isInDelta %}
19- {% set url = (base_url ~ pagination .params ~ paginate .url ) | replace ({' //' :' /' }) %}
19+ {% set url = (base_url ~ pagination .params ~ paginate .url | replace ({' //' :' /' }) ) %}
2020 <li ><a href =" {{ url }}" >{{ paginate .number }}</a ></li >
2121 {% elseif paginate .isDeltaBorder %}
2222 <li class =" gap" ><span >… </span ></li >
2323 {% endif %}
2424
2525 {% endfor %}
2626 {% if pagination .hasNext %}
27- {% set url = (base_url ~ pagination .params ~ pagination .nextUrl ) | replace ({' //' :' /' }) %}
27+ {% set url = (base_url ~ pagination .params ~ pagination .nextUrl | replace ({' //' :' /' }) ) %}
2828 <li ><a rel =" next" href =" {{ url }}" >» </a ></li >
2929 {% else %}
3030 <li ><span >» </span ></li >
You can’t perform that action at this time.
0 commit comments