Add main tag in homepage
This commit is contained in:
parent
c47aa71e4a
commit
617a430d32
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue