<!DOCTYPE html>
<html lang="{{ $.Site.LanguageCode | default "en" }}" class="no-js">
  <head>
    <title>{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }} </title>
    {{- partial "head/meta-and-links.html" . -}}
    {{ block "scripts" . }}{{ partial "global/scripts.html" . }}{{ end }}
    {{- partial "head/additions.html" . -}}
  </head>
  <body class="ma0 font-sans bg-near-white border-solid border-t-4 border-primary-color{{ with getenv "HUGO_ENV" }} {{ . }}{{ end }}">
    {{ block "header" . }}{{ partial "global/header.html" .}}{{ end }}
    <div class="content">
      <main role="main">
        {{ block "main" . }}{{ end }}
      </main>
      {{ block "footer" . }}{{ partial "global/footer.html" . }}{{ end }}
    </div>
  </body>
</html>

<!DOCTYPE html>
<html lang="{{ $.Site.LanguageCode | default "en" }}" class="no-js">
  <head>
    <title>{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }} </title>
    {{block "head" .}}
      {{- partial "head/meta-and-links.html" . -}}
    {{end}}
    {{block "scripts" .}}
      {{partial "head/scripts.html" .}}
    {{ end }}
  </head>
  <body class="ma0 font-sans bg-near-white border-solid border-t-4 border-primary-color{{ with getenv "HUGO_ENV" }} {{ . }}{{ end }}">
    {{ block "header" . }}{{ partial "global/header.html" .}}{{ end }}
    <div class="content">
      <main role="main">
        {{ block "main" . }}{{ end }}
      </main>
      {{ block "footer" . }}
        {{- partial "global/footer.html" . -}}
      {{ end }}
    </div>
  </body>
</html>

Clean up and make head meta a block element
Clean up and make head meta a block element
