Error using first: both limit and seq must be provided

Try using with here:

{{ with .Site.Taxonomies.series.top1 }}
    {{ range first 5 . }}
        ...
    {{ end }}
{{ end }}

The error is for the cases you said where series front-matter is absent… so the first was seeing the second argument as nil in those cases.

5 Likes