--------------------------------------------------------------------------*/}}
  {{- $editorTag := "" -}}
  {{- if eq $editorLength 1 }}
    {{- if eq $citationType "chicago" -}}
      {{- $editorTag = "ed" -}}
    {{- else if eq $citationType "mla" -}}
      {{- $editorTag = "editor" -}}
    {{- end -}}
  {{- else if gt $editorLength 1 -}}
    {{- if eq $citationType "chicago" -}}
      {{- $editorTag = "eds" -}}
    {{- else if eq $citationType "mla" -}}
      {{- $editorTag = "editors" -}}
    {{- end -}