nctuation.
*/}}

{{ $citationType := .type }}
{{ $citationRange := .range }}

{{- $endPunctuation := findRE "[!|?]$" .site.Data.publication.title -}}
{{ $seriesStartNumber := findRE "^[0-9]" .site.Data.publication.number_in_series }}

{{ $siteAuthorCount := "" }}
{{ $siteEditorCount := "" }}

{{ $siteAuthorCount = len (where .site.Data.publication.contributor "type" "primary") }}
{{ if ne $siteAuthorCount 0 }}
{{ $siteEditorCount = len (where .site.Data.publication.contributor "role" "editor") }}
{{ end }}
