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" }}
<div>
<h1>{{ .Site.Title }}</h1>
<main aria-role="main">
<div>
<h1>{{ .Site.Title }}</h1>
{{- with .Site.Params.homeSubtitle }}
<p>{{.}}</p>
{{- end }}
{{- with .Site.Params.homeSubtitle }}
<p>{{.}}</p>
{{- end }}
{{- with .Site.Params.social }}
<div>
{{ partialCached "social-icons.html" . }}
</div>
{{- end }}
</div>
{{- with .Site.Params.social }}
<div>
{{ partial "social-icons.html" . }}
</div>
{{- end }}
</div>
</main>
{{ end }}