fix: 代码调整

This commit is contained in:
nineya 2023-03-29 16:34:55 +08:00
parent 7fd179d031
commit 0d6406ae3b
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
</ol>
</div>
</button>
<button th:if="${type == 'Post'}" class="agree like" data-id="${(post.id!0)?c}"
<button th:if="${type == 'Post'}" class="agree like" th:data-id="${post.metadata.name}"
data-likes="${(post.likes!0)?c}">
<i class="fa fa-thumbs-o-up"></i>
<span><span th:text="${post.stats.upvote}"></span></span>

View File

@ -68,7 +68,7 @@
<th:bolck th:if="${enableCopyright || enableShare}">
<hr/>
<th:block th:if="${enableCopyright}">
<th:block th:replace="~{main/copyright}"></th:block>
<th:block th:replace="~{main/copyright}"/>
</th:block>
<div th:if="${enableShare}" class="dshare"></div>
</th:bolck>