<#macro article post,layout,commentType,index> <#include "../comment/comment.ftl"> <#--
<#else>style="margin-left: 10px;">-->
<#if is_post?? || is_page?? || is_sheet??> <#else > <#if post.thumbnail?? && post.thumbnail!=''>
<#if index> ${post.title!} <#else> ${post.title!}
<#if is_post??>

<#if index> ${post.title!} <#else> ${post.title!}

<#else>

<#if index> ${post.title!} <#else> ${post.title!}

<#if index && post.summary?? && post.summary!=''> ${post.summary!} <#else> ${post.formatContent!}
<#if !index && tags?? && (tags?size gt 0)>
# <#list tags as tag> ${tag.name!} 
<#if index && post.summary?? && post.summary!=''>
<#if !index??> <#if (settings.donate_alipay?? && settings.donate_alipay!='') || (settings.donate_wechat?? && settings.donate_wechat!='')>
<#if settings.donate_alipay?? && settings.donate_alipay!=''> <#include "../donate/alipay.ftl"> <#if settings.donate_wechat?? && settings.donate_wechat!=''> <#include "../donate/wechat.ftl">
<#if !index && nextPost?? && prePost??>
<#if prePost??> <#if nextPost??>
<#if !index>

评论

<#if commentType == 'post'> <@comment post,"post" /> <#else> <@comment post,"sheet" />