From 67342bac160042fb0be7a175921d5f2a16b1fe1c Mon Sep 17 00:00:00 2001 From: ruibaby Date: Wed, 3 Oct 2018 22:37:07 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E6=89=80=E6=9C=89=E4=B8=89?= =?UTF-8?q?=E6=96=B9=E8=AF=84=E8=AE=BA=E7=B3=BB=E7=BB=9F=EF=BC=8C=E4=B8=8D?= =?UTF-8?q?=E5=86=8D=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/comment.ftl | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/module/comment.ftl b/module/comment.ftl index 7275287..ac5bfbe 100644 --- a/module/comment.ftl +++ b/module/comment.ftl @@ -1,17 +1,3 @@ -<#switch options.comment_system> - <#case "native"> - <#include "../../../common/comment/_native_comment.ftl"> - <#break > - <#case "valine"> - <#include "../../../common/comment/_valine_comment.ftl"> - <#break > - <#case "disqus"> - <#include "../../../common/comment/_disqus_comment.ftl"> - <#break > - <#case "livere"> - <#include "../../../common/comment/_livere_comment.ftl"> - <#break > - <#case "changyan"> - <#include "../../../common/comment/_changyan_comment.ftl"> - <#break > - \ No newline at end of file +<#if post.allowComment?default(1)==1> + <#include "/common/comment/_native_comment.ftl"> +