Browse Source

fix(_default/baseof): Use main tag

https://dequeuniversity.com/rules/axe/3.0/landmark-one-main
Sorin Davidoi 5 years ago
parent
commit
92610430fa
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      layouts/_default/baseof.html

+ 3
- 3
layouts/_default/baseof.html View File

@@ -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>