mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-15 18:59:40 +08:00
评论
This commit is contained in:
parent
891d82dcd7
commit
f6d5d45f8c
@ -49,13 +49,22 @@
|
||||
</div>
|
||||
<div class="card card-content comment-wrapper-z-index" id="comment-wrapper" th:if="${enableComment}">
|
||||
<h3 class="comment-title">评论</h3>
|
||||
<comment-widget
|
||||
group="content.halo.run"
|
||||
kind="SinglePage"
|
||||
version="v1alpha1"
|
||||
th:name="${theme.config.page_config.link_comment_id}"
|
||||
with-replies="false"
|
||||
></comment-widget>
|
||||
<th:block th:if="${theme.config.enhance.enable_pjax}">
|
||||
<comment-widget
|
||||
group="content.halo.run"
|
||||
kind="SinglePage"
|
||||
version="v1alpha1"
|
||||
th:name="${theme.config.page_config.link_comment_id}"
|
||||
with-replies="false"
|
||||
></comment-widget>
|
||||
</th:block>
|
||||
<th:block th:unless="${theme.config.enhance.enable_pjax}">
|
||||
<halo:comment
|
||||
group="content.halo.run"
|
||||
kind="SinglePage"
|
||||
th:attr="name=${theme.config.page_config.link_comment_id}"
|
||||
/>
|
||||
</th:block>
|
||||
</div>
|
||||
</th:block>
|
||||
</th:block>
|
||||
|
@ -92,12 +92,21 @@
|
||||
|
||||
<div class="card card-content comment-wrapper-z-index" id="comment-wrapper" th:if="${enableComment}">
|
||||
<h3 class="comment-title">评论</h3>
|
||||
<comment-widget
|
||||
group="content.halo.run"
|
||||
th:kind="${type}"
|
||||
version="v1alpha1"
|
||||
th:name="${post.metadata.name}"
|
||||
with-replies="false"
|
||||
></comment-widget>
|
||||
<th:block th:if="${theme.config.enhance.enable_pjax}">
|
||||
<comment-widget
|
||||
group="content.halo.run"
|
||||
th:kind="${type}"
|
||||
version="v1alpha1"
|
||||
th:name="${post.metadata.name}"
|
||||
with-replies="false"
|
||||
></comment-widget>
|
||||
</th:block>
|
||||
<th:block th:unless="${theme.config.enhance.enable_pjax}">
|
||||
<halo:comment
|
||||
group="content.halo.run"
|
||||
th:kind="${type}"
|
||||
th:attr="name=${post.metadata.name}"
|
||||
/>
|
||||
</th:block>
|
||||
</div>
|
||||
</th:block>
|
@ -57,13 +57,22 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="journal-comment comment-wrapper-z-index" th:if="${enableComment}">
|
||||
<comment-widget
|
||||
group="moment.halo.run"
|
||||
kind="Moment"
|
||||
version="v1alpha1"
|
||||
th:name="${moment.metadata.name}"
|
||||
with-replies="false"
|
||||
></comment-widget>
|
||||
<th:block th:if="${theme.config.enhance.enable_pjax}">
|
||||
<comment-widget
|
||||
group="moment.halo.run"
|
||||
kind="Moment"
|
||||
version="v1alpha1"
|
||||
th:name="${moment.metadata.name}"
|
||||
with-replies="false"
|
||||
></comment-widget>
|
||||
</th:block>
|
||||
<th:block th:unless="${theme.config.enhance.enable_pjax}">
|
||||
<halo:comment
|
||||
group="moment.halo.run"
|
||||
kind="Moment"
|
||||
th:attr="name=${moment.metadata.name}"
|
||||
/>
|
||||
</th:block>
|
||||
</div>
|
||||
</div>
|
||||
<th:block th:replace="~{main/pagination :: pagination (${moments}, '/moments')}"/>
|
||||
|
@ -30,7 +30,7 @@ spec:
|
||||
settingName: theme-dream2-plus-setting
|
||||
configMapName: theme-dream2-plus-configMap
|
||||
# 版本号
|
||||
version: 1.2.0.22241
|
||||
version: 1.2.0.22242
|
||||
# 最低支持的 Halo 版本
|
||||
require: ">=2.12.0"
|
||||
# 许可
|
||||
|
Loading…
x
Reference in New Issue
Block a user