vironment')
  * } else {
  *   console.log('hugo production environment')
  * }
  *
  * ----------------------------------------------------------------*/ -}}
{{- /* get source from . or .src and fetch resource */ -}}
{{- $src := . -}}
{{- if not $src -}}
  {{- errorf `You must provide a source as the partial context, or (dict .src "path")` -}}
{{- end -}}

{{- /* set .load only if valid option provided in dict */ -}}
{{- $load := "" -}}

{{- /* set .babel only if provided in dict */ -}}
{{- $babel := false