{{- $isWinter := false -}}
{{- $month := now.Month -}}
{{- $day := now.Day -}}

{{- if or (and (eq $month 12) (ge $day 10)) (and (eq $month 1) (le $day 7)) -}}
  {{- $isWinter = true -}}
{{- end -}}

<!DOCTYPE html>
<html lang="{{ .Site.Language.Lang }}">
  {{- partial "head.html" . -}}
  <body dir="{{ .Site.Language.LanguageDirection | default `ltr` }}" 
        class="{{ if $isWinter }}snow-bg{{ end }}">
    {{- partial "navbar.html" . -}}
    {{- block "main" . }}{{ end -}}
    {{- if or (eq .Site.Params.footer.enable nil) (.Site.Params.footer.enable) }}
      {{ partial "footer.html" . }}
    {{ end }}
    {{ partial "scripts.html" . }}
  </body>
</html>
