diff options
| author | Eltrac Koalar <hi@guhub.cn> | 2022-09-18 19:13:53 +0800 |
|---|---|---|
| committer | Eltrac Koalar <hi@guhub.cn> | 2022-09-18 19:13:53 +0800 |
| commit | 153cfc84734a378369aef6cc8514fc5c0c31d40f (patch) | |
| tree | 3af3babf453534b52294c49e57b271828e971069 /includes | |
| parent | 24420cc86f45768dc1d4759943f94983f9cca7de (diff) | |
:link: Perf: 重写文章目录
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/sidebar.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/includes/sidebar.php b/includes/sidebar.php index f969e43..3e6903d 100644 --- a/includes/sidebar.php +++ b/includes/sidebar.php @@ -1,5 +1,6 @@ <?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?> -<div id="sidebar" class="sidebar" role="complementary"> +<!-- 侧边栏 --> +<aside id="sidebar" class="sidebar" role="complementary"> <section class="widget widget-nav sidebar-nav"> <header id="header" class="header"><?php Matcha::siteName(); ?></header> <ul class="widget-list"><?php Matcha::pageNav($this, "li"); ?></ul> @@ -11,8 +12,8 @@ <li>Powered by <a rel="nofollow" target="_blank" href="http://www.typecho.org" class="no-linkTarget">Typecho</a></li> </ul> </section> -</div> - +</aside> +<!-- 工具栏 --> <div id="helpbar"> <?php if($this->options->DarkMode=='default' || $this->options->DarkMode=='dark'){ ?><button id="light-switch" title="开关灯"><span class="iconfont"></span></button><?php } ?> </div>
\ No newline at end of file |
