This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
redemption/module/comment.ftl

11 lines
411 B
Plaintext
Raw Normal View History

2021-12-28 08:36:20 +08:00
<#macro comment post,type>
<#if !post.disallowComment!false>
<div class="comment">
2021-12-28 08:36:20 +08:00
<script src="//cdn.jsdelivr.net/npm/vue@2.6.10/dist/vue.min.js"></script>
<script src="${options.comment_internal_plugin_js!'//cdn.jsdelivr.net/gh/halo-dev/halo-comment@latest/dist/halo-comment.min.js'}"></script>
<halo-comment id="${post.id?c}" type="${type}"/>
</div>
2021-12-28 08:36:20 +08:00
</#if>
2021-12-31 15:53:37 +08:00
</#macro>