- {if $type==’index’&&$page==’1′} /*判断首页*/
- {if $type==’category’} /*判断分类页*/
- {if $type==’article’} /*判断日志页,不含独立页面,{if $article.Type==ZC_POST_TYPE_ARTICLE}(另一方案)*/
- {if $type==’page’} /*判断独立页面*/
- {if $type==’author’} /*判断用户页*/
- {if $type==’date‘} /*判断日期页*/
- {if $type==’tag’} /*判断标签页*/
答案来自:Z-Blog Wiki
© 版权声明
THE END