<#foreach>
  • <#if test="${isnotempty(field.thumb)}">

    ${field.title}

    ${formatdate(field.published,"MM月dd日")} ${tags(field.tags,"{1}","4")}

    ${str_cut(field.description,140,"..")}

    <#else>

    ${field.title}

    ${formatdate(field.published,"MM月dd日")} ${tags(field.tags,"{1}","4")}

    ${str_cut(field.description,260,"..")}

    <#/if>
  • <#/foreach>