2020-06-11 21:58:59 +08:00
|
|
|
<#--
|
|
|
|
COMMENTS TEMPLATE
|
|
|
|
-->
|
|
|
|
<#macro comment target,type>
|
2020-06-22 14:40:38 +08:00
|
|
|
<script>
|
|
|
|
var configs = {
|
|
|
|
autoLoad: true,
|
|
|
|
showUserAgent: true,
|
|
|
|
loadingStyle: "balls"
|
|
|
|
}
|
|
|
|
</script>
|
2020-12-28 01:03:41 +08:00
|
|
|
<#if !target.disallowComment!false && !settings.keep_record_mode!false>
|
2020-06-11 21:58:59 +08:00
|
|
|
<section id="comments" class="comments">
|
|
|
|
<div class="comments-main">
|
2020-12-05 13:30:29 +08:00
|
|
|
<h3 id="comments-list-title">
|
|
|
|
<span class="name i18n" data-iname="comment.name"></span>
|
|
|
|
<span class="noticom i18n" data-iname="comment.number" data-ivalue="${target.commentCount!0}"></span>
|
|
|
|
</h3>
|
2020-06-22 14:40:38 +08:00
|
|
|
<halo-comment id="${target.id?c}" type="${type}" :configs="configs"/>
|
2020-06-11 21:58:59 +08:00
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</#if>
|
2020-05-31 19:04:57 +08:00
|
|
|
</#macro>
|