<!DOCTYPE html>
<html lang='{{ .Site.Language.Lang }}'>
  <head>
    <title>{{ .Site.Title }} | {{ .Page.Title }}</title>

    <meta charset="utf-8">
    {{ hugo.Generator }}

    <link href='{{ "css/custom.css" | absURL }}' rel="stylesheet" type="text/css" />
  </head>

  <body>
    {{ block "header" . }} {{ partial "site-header.html" . }} {{ end }}
    {{ block "menu" . }} {{ partial "site-menu.html" . }} {{ end }}

    <div id="content">
      {{ if eq .Site.Language.Lang "de" }}
        {{ partial "site-sidebar.de.html" . }}
      {{ else if eq .Site.Language.Lang "fr" }}
        {{ partial "site-sidebar.fr.html" . }}
      {{ else if eq .Site.Language.Lang "it" }}
        {{ partial "site-sidebar.it.html" . }}
      {{ else if eq .Site.Language.Lang "en" }}
        {{ partial "site-sidebar.en.html" . }}
      {{ end }}
      {{ block "main" . }} {{ end }}
      <div id="clear"></div>
    </div>

    {{ block "footer" . }} {{ partial "site-footer.html" . }} {{ end }}
  </body>
</html>