修复评论问题

This commit is contained in:
roozen 2023-07-23 19:06:51 +08:00
parent d738a86e1e
commit e3b524a143
3 changed files with 9 additions and 3 deletions

View File

@ -718,7 +718,8 @@
<th:block
th:replace="~{modules/comment :: comment(group = 'content.halo.run',
kind = 'SinglePage',
name = ${singlePage.metadata.name})}"/>
name = ${singlePage.metadata.name},
allowComment = ${singlePage.spec.allowComment})}"/>
</div>

View File

@ -194,7 +194,8 @@
<th:block
th:replace="~{modules/comment :: comment(group = 'content.halo.run',
kind = 'SinglePage',
name = ${singlePage.metadata.name})}"/>
name = ${singlePage.metadata.name},
allowComment = ${singlePage.spec.allowComment})}"/>
</div>
</main>

View File

@ -159,7 +159,11 @@
}
</style>
<th:block
th:replace="~{modules/comment :: comment(group = 'content.halo.run',
kind = 'SinglePage',
name = ${singlePage.metadata.name},
allowComment = ${singlePage.spec.allowComment})}"/>
</div>