所以我试图写一个条件,基本上就是,如果dateModified不等于datePost,就显示dateModified。
这是可行的:
<data:post.lastUpdated/>这是可行的:
<data:post.date/>这不起作用:
<b:include cond='data:post.lastUpdated != data:post.date'>
<data:post.lastUpdated/>
</b:include>我怎么才能让它工作呢?
发布于 2020-07-24 04:06:16
您正在使用b:include而不是b:if
<b:if cond='data:post.lastUpdated != data:post.date'>
<data:post.lastUpdated/>
</b:if>https://stackoverflow.com/questions/63061982
复制相似问题