<#if post.title?length lt 25 >
${post.title}
<#else>
${post.title[0..21]}...
</#if>
注:${post.title[0..21]}取得标题的前22个字符,后面加上省略号...(自定义的)
${post.title}
<#else>
${post.title[0..21]}...
</#if>
注:${post.title[0..21]}取得标题的前22个字符,后面加上省略号...(自定义的)