Commit 93abbee3 authored by Liang Ding's avatar Liang Ding

#18 集成社区评论组件

parent 2bfda219
......@@ -110,10 +110,10 @@
</footer>
<#if commentable>
<div id="vcomment" data-name="${article.authorName}" data-postId="${article.oId}"></div>
</#if>
<div id="soloComments" class="fn__none">
<@comments commentList=articleComments article=article></@comments>
</div>
</#if>
<br>
<div id="externalRelevantArticles" class="list"></div>
<div id="relevantArticles" class="list"></div>
......
......@@ -18,7 +18,6 @@
-->
<#macro comments commentList article>
<#if commentable>
<header class='title'><h2>${commentLabel}</h2></header>
<ul class="comments" id="comments">
<#list commentList as comment>
......@@ -31,5 +30,4 @@
<textarea rows="3" placeholder="${postCommentsLabel}" id="comment"></textarea>
</div>
</#if>
</#if>
</#macro>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment