<!DOCTYPE html>
<html lang="{{ .Site.Language.Lang }}">
{{ partial "head.html" . }}
  <body{{ $currentPage := . }}{{ range .Site.Menus.main }}
      {{ if or ($currentPage.IsMenuCurrent "main" .) (eq $currentPage.Menus.main.Pre .Pre) }} class="{{ .Pre }}"{{ end }}
      {{ if $currentPage.IsHome }} class="home"{{ end }}
      {{ end }}>
    {{ partial "header.html" . }}
    {{ block "all" . }}
    <main role="main" id="content">
      {{ block "main" . }}{{ end }}
    </main>
    {{ end }}
    {{ partial "footer.html" . }}
    {{ partial "js.html" . }}
  </body>
</html>
