>
                    <a th:href="@{${category.status.permalink}+'/page/1'}">1</a>
                </span>
                <!-- 当前页面小于等于4 -->
                <span class="page-link" th:classappend="${index eq pageIndex} ? 'current':''"
                    th:each="index : ${#numbers.sequence(2,5)}"
                    th:if="${pageIndex le 4}">
                    <a th:href="${category.status.permalink}+'/page/' + ${index}"
                       th:text="${index}"></a>
                </sp