diff --git a/templates/modules/widgets/page.html b/templates/modules/widgets/page.html index 376b3d67..6e827d99 100644 --- a/templates/modules/widgets/page.html +++ b/templates/modules/widgets/page.html @@ -12,30 +12,40 @@ - + + th:if="${index > 0 && index <= pageInfo.totalPages}" + th:href="${#strings.equals(index, '1') ? paths : path+'/page/'+index}" + th:text="${index}" + onclick="scrollToPost()"> - + - - @@ -43,12 +53,25 @@ - + + +