瀏覽代碼

fix(_default/baseof): Use main tag

https://dequeuniversity.com/rules/axe/3.0/landmark-one-main
Sorin Davidoi 6 年之前
父節點
當前提交
92610430fa
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. 3
    3
      layouts/_default/baseof.html

+ 3
- 3
layouts/_default/baseof.html 查看文件

@@ -1,10 +1,10 @@
1 1
 {{ partial "head.html" . }}
2 2
   <body class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{end}}">
3 3
   {{ partial "sidebar.html" . }}
4
-    <div class="content container">
4
+    <main class="content container">
5 5
     {{ block "main" . -}}{{- end }}
6
-    </div>
6
+    </main>
7 7
 
8 8
     {{ template "_internal/google_analytics_async.html" . }}
9 9
   </body>
10
-</html>
10
+</html>