{{- /* FixIt theme environment detection */ -}}
{{- $params := partial "function/params.html" -}}

{{- if hugo.IsProduction -}}
  {{- $cdn := .Site.Params.cdn -}}
  {{- with $cdn.data -}}
    {{- $cdnData := printf "data/cdn/%v" . | resources.Get | transform.Unmarshal -}}
    {{- $cdn = dict "simpleIconsPrefix" $cdnData.prefix.simpleIcons -}}
    {{- $prefix := $cdnData.prefix.libFiles | default "" -}}
    {{- range $key, $value := $cdnData.libFiles -}}
      {{- $cdn = printf "%v%v" $prefix $value | dict $