{{ if eq (hugo.Environment) "development" -}}
  {{ $options := (dict "targetPath" "main.css" "enableSourceMap" true "includePaths" (slice "node_modules")) -}}
  {{ $css := resources.Get "scss/app.scss" | toCSS $options -}}
  <link rel="stylesheet" href="{{ $css.Permalink }}">
  {{ else -}}
  {{ $options := (dict "targetPath" "main.css" "outputStyle" "compressed" "includePaths" (slice "node_modules")) -}}
  {{ $css := resources.Get "scss/app.scss" | toCSS $options | postCSS (dict "config" "config/postcss.config.js") -}}
  {{ $secureCSS := $css | resources.Fingerprint "sha512" -}}
  <link rel="stylesheet" href="{{ $secureCSS.Permalink }}" integrity="{{ $secureCSS.Data.Integrity }}" crossorigin="anonymous">
  {{ end -}}
  <link rel="stylesheet" href="{{ "/css/lightgallery-bundle.css" | relURL }}">
  <link rel="stylesheet" href="{{ "/css/lg-transitions.css" | relURL }}">


  {{ if eq .Title "Video gallery" -}}
    <link href="https://vjs.zencdn.net/7.10.2/video-js.css" rel="stylesheet" />
  {{ end -}}
<noscript><style>img.lazyload { display: none; }</style></noscript>