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
534 B
Plaintext
Raw Permalink Normal View History

<#macro comment target,type>
2021-12-28 08:36:20 +08:00
<#if !post.disallowComment!false>
<div id="comment" class="comment close">
<script src="${theme_base!}/source/plugins/comment/vue.min.js"></script>
2022-01-19 17:34:41 +08:00
<script src="${theme_base!}/source/plugins/comment/halo-comment.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="${target.id?c}" type="${type}""/>
</div>
2021-12-28 08:36:20 +08:00
</#if>
2021-12-31 15:53:37 +08:00
</#macro>