程序猿甜品店
寻知
Typecho前台调用判断if标签
由 Jefsky
发布于 2024-01-04
<?php if($this->is('index')): ?>
//首页内容
<?php else: ?>
//不是首页内容
<?php endif; ?>