d" $alphaOrder $entry -}}
  {{- $.Page.Scratch.Delete "entry" -}}

{{- end -}}

{{- if ($.Scratch.GetSortedMapValues "cited") }}
<div class="quire-page__content__references backmatter">
    {{ with .Site.Params.biblioHeading }}<h2 id="{{ urlize . }}">{{ . }}</h2>{{ end }}
    {{- if eq .Site.Params.displayBiblioShort true }}
    <dl>
        {{- range ($.Scratch.GetSortedMapValues "cited") }}
        {{/* the id is in a span because Pandoc otherwise strips them out from dt and dd for EPUBs for some reason *