   <link rel="stylesheet" type="text/css" href="{{$css}}">
    {{$title := default site.Title .Title}}
    {{with $title}}<title>{{.}}</title>{{end}}
    {{ $defines := dict 
      "REMOVE_FORM_ON_SUBMISSION" (default "false" (site.Param "RemoveFormOnSubmission")) 
      "BASE_URL" (print "\"" site.BaseURL "\"") 
      "NETLIFY" (default "false" (getenv "NETLIFY"))
      }}
    {{ $js := resources.Get "index.js" | js.Build (dict "defines" $defines "minify" hugo.IsProduction )}}
    <script type="text/javasc