fix: blog pagination no longer highlights the link to page 1
The TYPO3 10 paginator styled it bg-button--secondary, which looked like the current page. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
99f9724574
commit
d7374c697d
1 file changed
+1
-9
@@ -2,7 +2,6 @@
|
||||
xmlns:n="http://typo3.org/ns/GeorgRinger/News/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true">
|
||||
|
||||
<f:comment>The paginator of the TYPO3 10 widget (Templates/News/ViewHelpers/Widget/Paginate/Index.html in a46918d) on the core SlidingWindowPagination</f:comment>
|
||||
<f:if condition="{pagination.lastPageNumber} > 1">
|
||||
<f:if condition="{settings.list.paginate}">
|
||||
<f:if condition="{pagination.previousPageNumber}">
|
||||
@@ -34,14 +33,7 @@
|
||||
</f:then>
|
||||
<f:else>
|
||||
<li>
|
||||
<f:if condition="{page} > 1">
|
||||
<f:then>
|
||||
<a href="{f:render(section: 'uri', arguments: {page: page})}" class="button bg-button button--small">{page}</a>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<a href="{f:render(section: 'uri', arguments: {page: page})}" class="button bg-button bg-button--secondary button--small">{page}</a>
|
||||
</f:else>
|
||||
</f:if>
|
||||
<a href="{f:render(section: 'uri', arguments: {page: page})}" class="button bg-button button--small">{page}</a>
|
||||
</li>
|
||||
</f:else>
|
||||
</f:if>
|
||||
|
||||
Reference in new issue
Block a user