diff options
| author | BigCoke233 <hi@guhub.cn> | 2020-04-03 20:59:00 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2020-04-03 20:59:00 +0800 |
| commit | 00dca7e1606eb14b9ccb387560a1980d43e730f9 (patch) | |
| tree | f129a97554b316ae94f9b32e6fb92c8d5d4867d9 /post.php | |
| parent | e5b7bf6f957c5d3f8af2a3e7e95d351e1d76b380 (diff) | |
🔖 Perf: 优化页面的 ARIA
Diffstat (limited to 'post.php')
| -rw-r--r-- | post.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,9 +2,9 @@ $this->need('includes/head.php'); $this->need('includes/header.php'); ?> - <main class="main-container container"> + <main class="main-container container" role="main"> <div class="post-body"> - <div class="post-content" id="post-content"><!-- 文章内容 --> + <div class="post-content" role="article" id="post-content"><!-- 文章内容 --> <?php $postCheck = Utils::isOutdated($this); if($postCheck["is"] && $this->is('post')): ?> <div class="tip red" id="out-date-alert"> <div class="container-fluid"><div class="row"> |
