fix(_default/baseof): Use main tag

https://dequeuniversity.com/rules/axe/3.0/landmark-one-main
This commit is contained in:
Sorin Davidoi 2018-08-27 21:35:26 +02:00 committed by Bjørn Erik Pedersen
parent 72d4bdf488
commit 92610430fa
1 changed files with 3 additions and 3 deletions

View File

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