Add main tag in homepage

This commit is contained in:
Djordje Atlialp 2019-04-16 01:39:18 +02:00
parent c47aa71e4a
commit 617a430d32
1 changed files with 13 additions and 11 deletions

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