summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2020-04-03 20:59:00 +0800
committerBigCoke233 <hi@guhub.cn>2020-04-03 20:59:00 +0800
commit00dca7e1606eb14b9ccb387560a1980d43e730f9 (patch)
treef129a97554b316ae94f9b32e6fb92c8d5d4867d9 /index.php
parente5b7bf6f957c5d3f8af2a3e7e95d351e1d76b380 (diff)
🔖 Perf: 优化页面的 ARIA
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 5ba24ba..c2de313 100644
--- a/index.php
+++ b/index.php
@@ -12,12 +12,12 @@ if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$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-list"><!-- 文章循环开始 -->
<?php while($this->next()): ?>
<br />
<!-- 文章卡片 -->
- <div class="post-item ">
+ <div class="post-item" role="article">
<div class="container-fluid"><div class="row">
<div class="col-md-6 post-banner-box">
<a href="<?php $this->permalink(); ?>" class="post-link">