Update header.php
This commit is contained in:
parent
e8f4e79009
commit
b52c2f0a23
|
@ -52,7 +52,6 @@ if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<nav>
|
<nav>
|
||||||
<ul>
|
<ul>
|
||||||
<li class="whome"><a <?php if($this->is('index')): ?> class="current"<?php endif; ?> href="<?php $this->options->siteUrl(); ?>"><?php _e('首页'); ?></a></li>
|
|
||||||
<?php $this->widget('Widget_Contents_Page_List')->to($pages); ?>
|
<?php $this->widget('Widget_Contents_Page_List')->to($pages); ?>
|
||||||
<?php while($pages->next()): ?>
|
<?php while($pages->next()): ?>
|
||||||
<li><a <?php if($this->is('page', $pages->slug)): ?> class="current"<?php endif; ?> href="<?php $pages->permalink(); ?>" title="<?php $pages->title(); ?>"><?php $pages->title(); ?></a></li>
|
<li><a <?php if($this->is('page', $pages->slug)): ?> class="current"<?php endif; ?> href="<?php $pages->permalink(); ?>" title="<?php $pages->title(); ?>"><?php $pages->title(); ?></a></li>
|
||||||
|
|
Loading…
Reference in New Issue