mirror of
https://github.com/hongweipeng/MenuTree.git
synced 2024-12-21 20:30:26 +08:00
取消目录树在作者归档的显示
This commit is contained in:
parent
cc8f2a9a91
commit
7e4dc62acd
@ -162,7 +162,7 @@ class MenuTree_Plugin implements Typecho_Plugin_Interface {
|
||||
static $is_content = null;
|
||||
if($is_content === null) {
|
||||
$widget = Typecho_Widget::widget('Widget_Archive');
|
||||
$is_content = !($widget->is('index') || $widget->is('search') || $widget->is('date') || $widget->is('category'));
|
||||
$is_content = !($widget->is('index') || $widget->is('search') || $widget->is('date') || $widget->is('category') || $widget->is('author'));
|
||||
}
|
||||
return $is_content;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user