<meta http-equiv="content-type" content="text/html; charset=utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  {{ .Hugo.Generator }}
  <title>{{ .Title }} &middot; {{ .Site.Title }}</title>
  {{ $styles := resources.Get "css/main.css" | resources.ExecuteAsTemplate "main.css" . | minify | fingerprint }}
  <link rel="stylesheet" type="text/css" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}" media="screen" title="default">

<meta http-equiv="content-type" content="text/html; charset=utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  {{ .Hugo.Generator }}
  <title>{{ .Title }} &middot; {{ .Site.Title }}</title>
  {{ $styles := resources.Get "css/main.css" | resources.ExecuteAsTemplate "main.css" . | minify | fingerprint }}
  <link rel="stylesheet" type="text/css" href="{{ $styles.Permalink |absURL }}" integrity="{{ $styles.Data.Integrity }}" media="screen" title="default">

Add absURL for CSS to avoid problems with subdirectory domains
Add absURL for CSS to avoid problems with subdirectory domains
