{{ if (or (eq hugo.Environment "gitea") (eq hugo.Environment "preview") ) }}
<link rel="stylesheet" href="/css/site.min.css" />
<link rel="stylesheet" href="/css/player.min.css" />
{{ else if (or (eq hugo.Environment "offline") (.Site.IsServer)) }}
  {{ $style := resources.Get "css/site.css" | postCSS (dict "config" "./assets/css/postcss.config.js") | minify }}
  <link rel="stylesheet" href="{{ $style.Permalink }}" />
  {{ $style := resources.Get "css/player.css" | postCSS (dict "config" "./assets/css/postcss.config.js") | minify }}
  <link rel="stylesheet" href="{{ $style.Permalink }}" />
{{ end }}
