{#
# This include template takes a passed-in array of entries (called “entries”),
# sorts it into groups indexed by the first letter of the entries’ titles,
# and outputs a big ol’ list.
#}
{% for letter, letterEntries in entries | group('title|upper|slice(0, 1)') %}