Add main tag in homepage

This commit is contained in:
Djordje Atlialp 2019-04-16 01:39:18 +02:00
parent 1b3bb5eb85
commit 2052f5f83a
No known key found for this signature in database
GPG key ID: 94FF806E6BF61DD3

View file

@ -1,15 +1,17 @@
{{ define "main" }} {{ define "main" }}
<div> <main aria-role="main">
<h1>{{ .Site.Title }}</h1> <div>
<h1>{{ .Site.Title }}</h1>
{{- with .Site.Params.homeSubtitle }} {{- with .Site.Params.homeSubtitle }}
<p>{{.}}</p> <p>{{.}}</p>
{{- end }} {{- end }}
{{- with .Site.Params.social }} {{- with .Site.Params.social }}
<div> <div>
{{ partialCached "social-icons.html" . }} {{ partial "social-icons.html" . }}
</div> </div>
{{- end }} {{- end }}
</div> </div>
</main>
{{ end }} {{ end }}