File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929
3030<!-- check if there are further results and provide pagination links depending on the result -->
3131<txp:if_search_results min="11">
32- <txp:evaluate >
33- <nav class="paginator" aria-label="< txp:text item="page_nav" />" >
32+ <nav class="paginator" aria-label="< txp:text item="page_nav" />" >
33+ <txp:evaluate >
3434 <txp:newer rel="prev">
3535 <txp:text item="prev" />
3636 </txp:newer>
3737 <txp:older rel="next">
3838 <txp:text item="next" />
3939 </txp:older>
40- </nav >
41- </txp:evaluate >
40+ </txp:evaluate >
41+ </nav >
4242</txp:if_search_results>
Original file line number Diff line number Diff line change 108108 <!-- ...or if you want to list all articles from all sections instead, then replace txp:article with txp:article_custom -->
109109
110110 <!-- add pagination links to foot of article listings if there are more articles available -->
111- <txp:evaluate>
111+ <txp:evaluate test="newer,older" >
112112 <nav class="paginator" aria-label="<txp:text item="page_nav" />">
113113 <txp:newer rel="prev">
114114 <txp:text item="newer" />
123123 <txp:article />
124124
125125 <!-- add pagination links to foot of article if there are more articles available -->
126- <txp:evaluate>
126+ <txp:evaluate test="prev,next" >
127127 <nav class="paginator" aria-label="<txp:text item="page_nav" />">
128128 <txp:link_to_prev>
129129 <txp:text item="prev" />
Original file line number Diff line number Diff line change 9494 </txp:if_variable>
9595
9696 <!-- add pagination links to foot of front page/author listings/category listings if there are more articles available -->
97- <txp:evaluate>
97+ <txp:evaluate test="newer,older" >
9898 <nav class="paginator" aria-label="<txp:text item="page_nav" />">
9999 <txp:newer rel="prev">
100100 <txp:text item="newer" />
Original file line number Diff line number Diff line change 2929
3030<!-- check if there are further results and provide pagination links depending on the result -->
3131<txp:if_search_results min="11">
32- <txp:evaluate >
33- <nav class="paginator" aria-label="< txp:text item="page_nav" />" >
32+ <nav class="paginator" aria-label="< txp:text item="page_nav" />" >
33+ <txp:evaluate >
3434 <txp:newer rel="prev">
3535 <txp:text item="prev" />
3636 </txp:newer>
3737 <txp:older rel="next">
3838 <txp:text item="next" />
3939 </txp:older>
40- </nav >
41- </txp:evaluate >
40+ </txp:evaluate >
41+ </nav >
4242</txp:if_search_results>
Original file line number Diff line number Diff line change 108108 <!-- ...or if you want to list all articles from all sections instead, then replace txp:article with txp:article_custom -->
109109
110110 <!-- add pagination links to foot of article listings if there are more articles available -->
111- <txp:evaluate>
111+ <txp:evaluate test="newer,older" >
112112 <nav class="paginator" aria-label="<txp:text item="page_nav" />">
113113 <txp:newer rel="prev">
114114 <txp:text item="newer" />
123123 <txp:article />
124124
125125 <!-- add pagination links to foot of article if there are more articles available -->
126- <txp:evaluate>
126+ <txp:evaluate test="prev,next" >
127127 <nav class="paginator" aria-label="<txp:text item="page_nav" />">
128128 <txp:link_to_prev>
129129 <txp:text item="prev" />
Original file line number Diff line number Diff line change 9494 </txp:if_variable>
9595
9696 <!-- add pagination links to foot of front page/author listings/category listings if there are more articles available -->
97- <txp:evaluate>
97+ <txp:evaluate test="newer,older" >
9898 <nav class="paginator" aria-label="<txp:text item="page_nav" />">
9999 <txp:newer rel="prev">
100100 <txp:text item="newer" />
You can’t perform that action at this time.
0 commit comments