更新追番页评论和标题

This commit is contained in:
roozen 2023-07-31 11:22:31 +08:00
parent 6d2609b192
commit 4c5df07fa4
2 changed files with 8 additions and 6 deletions

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" th:replace="~{modules/layouts/layout :: layout(content = ~{::content}, htmlType = 'page')}"
<html lang="en" th:replace="~{modules/layouts/layout :: layout(content = ~{::content}, htmlType = 'bangumis')}"
xmlns:th="http://www.thymeleaf.org">
<th:block th:fragment="content">
@ -518,11 +518,11 @@
</div>
<hr>
<!--/* 评论组件 */-->
<th:block th:replace="~{modules/comment :: comment(group = 'content.halo.run',
<th:block
th:replace="~{modules/comment :: comment(group = 'content.halo.run',
kind = 'SinglePage',
name = ${singlePage.metadata.name},
allowComment = ${singlePage.spec.allowComment})}"/>
name = 'bangumis',
allowComment = true)}"/>
</div>

View File

@ -319,7 +319,9 @@
case 'photos':
title = '图库'
break;
case 'bangumis':
title = '追番'
break;
}
if (title != '')
document.title = title + ' - ' + [[${ site.title }]]