{{ $asset := dict }}
{{ with resources.Get . }}
  {{ $secureAsset := . }}
  {{ if not (in (site.BaseURL | string) "localhost") }}
    {{ $secureAsset = $secureAsset | resources.Fingerprint "md5" }}
  {{ end }}
  {{ $asset = dict "Resource" . "Secure" $secureAsset }}
{{ end }}
{{ return $asset }}
