fix:上一篇下一篇鼠标点击无反应
This commit is contained in:
parent
5c896b0a59
commit
37d519a882
|
@ -179,22 +179,22 @@
|
|||
</div>
|
||||
<nav class="pagination-post" id="pagination"
|
||||
th:with="postCursor = ${postFinder.cursor(post.metadata.name)}">
|
||||
<div class="prev-post pull-left" th:if="${postCursor.hasPrevious()}">
|
||||
<a th:href="@{${postCursor.previous.status.permalink}}">
|
||||
<a th:if="${postCursor.hasPrevious()}" th:href="@{${postCursor.previous.status.permalink}}">
|
||||
<div class="prev-post pull-left">
|
||||
<div class="pagination-info">
|
||||
<div class="label">上一篇</div>
|
||||
<div class="prev_info" th:text="${postCursor.previous.spec.title}"></div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="next-post pull-right" th:if="${postCursor.hasNext()}">
|
||||
<a th:href="@{${postCursor.next.status.permalink}}">
|
||||
</div>
|
||||
</a>
|
||||
<a th:if="${postCursor.hasNext()}" th:href="@{${postCursor.next.status.permalink}}">
|
||||
<div class="next-post pull-right">
|
||||
<div class="pagination-info">
|
||||
<div class="label">下一篇</div>
|
||||
<div class="next_info" th:text="${postCursor.next.spec.title}"></div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</nav>
|
||||
<div class="relatedPosts" th:if="${not #lists.isEmpty(post.categories)}">
|
||||
|
||||
|
|
Loading…
Reference in New Issue