1 2 3
<p class="page" th:if="${nextpage != null}"> <a th:href="${nextpage}" rel="prev">Читать дальше →</a> </p>