runsly typecho教程 2022-01-18 typecho教程:判断是否为首页并自定义输出内容 判断是否为首页并自定义输出内容 2013-03-26 判断是否为首页,输出相关内容: <?php if($this->is('index')): ?> //首页输出内容 <?php else: ?> //不是首页输出内容 <?php endif; ?> 判断当前分类,输出内容: 2021服务器优惠阿里云:2核2G5M服务器60元/年、2核4G 200元/年、4核8G服务器365元/年 更多... 腾讯云:云产品限时秒杀,爆款1核2G云服务器,首年74元 更多...