}
  {{- end -}}

  {{/* Chicago suggests that et al be used for
  ------------------------------------------------------------------------*/}}
  {{- $maxLength := "" -}}
  {{- $displayLength := "" -}}
  {{- if eq $citationType "chicago" -}}
    {{- $maxLength = 10 -}}
    {{- $displayLength = 7 -}}
  {{- else if eq $citationType "mla" -}}
    {{- $maxLength = 2 -}}
    {{- $displayLength = 1 -}}
  {{- end -}}

  {{- range $index, $element := $contributors -}}

    {{/* If the number of contributors is beyon