Add main tag in homepage
This commit is contained in:
parent
1b3bb5eb85
commit
2052f5f83a
1 changed files with 13 additions and 11 deletions
|
@ -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 }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue