{{ define "main" }}
    <div>
        <h1>{{ .Site.Title }}</h1>

        {{- with .Site.Params.homeSubtitle }}
            <p>{{.}}</p>
        {{- end }}

        {{- with .Site.Params.social }}
            <div>
                {{ partialCached "social-icons.html" . }}
            </div>
        {{- end }}
    </div>
{{ end }}

{{ define "main" }}
    <main aria-role="main">
        <div>
            <h1>{{ .Site.Title }}</h1>

            {{- with .Site.Params.homeSubtitle }}
                <p>{{.}}</p>
            {{- end }}

            {{- with .Site.Params.social }}
                <div>
                    {{ partial "social-icons.html" . }}
                </div>
            {{- end }}
        </div>
    </main>
{{ end }}

Add main tag in homepage
Add main tag in homepage

