mirror of https://github.com/halo-dev/halo
Update anatole theme.
parent
07f8cc0fbd
commit
cfaa73aec2
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,7 @@
|
|||
<#macro comment id,type>
|
||||
<script src="//cdn.jsdelivr.net/npm/vue@2.6.10/dist/vue.min.js"></script>
|
||||
<script src="/static/js/halo-comment.min.js"></script>
|
||||
<halo-comment id="${id}" type="${type}"/>
|
||||
<#macro comment post,type>
|
||||
<#if !post.disallowComment!false>
|
||||
<script src="//cdn.jsdelivr.net/npm/vue@2.6.10/dist/vue.min.js"></script>
|
||||
<script src="/static/js/halo-comment.min.js"></script>
|
||||
<halo-comment id="${post.id}" type="${type}"/>
|
||||
</#if>
|
||||
</#macro>
|
|
@ -93,7 +93,7 @@
|
|||
</div>
|
||||
<div id="comment_widget">
|
||||
<#include "module/comment.ftl">
|
||||
<@comment id="${post.id}" type="post" />
|
||||
<@comment post="${post!}" type="post" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
</div>
|
||||
<div id="comment_widget">
|
||||
<#include "module/comment.ftl">
|
||||
<@comment id="${sheet.id!}" type="sheet" />
|
||||
<@comment post="${sheet!}" type="sheet" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue