From the documentation, I tried setting front matter resources:
indent preformatted text by 4 spaces
resources:
- src: '*specs.pdf'
title: 'Specification #:counter'
- name: pdf-file-:counter
src: '**.pdf'
With this shortcode…
Resources
{{ .Page.Params.Resources }}
<table>
<th>List of files</th>
{{ range .Page.Params.Resources }}
<tr><td>{{ .Name }}</td></tr>
{{ end }}
</table>
…I get this result (the wildcard should be expanded, no?)
Resources
[map[src:*specs.pdf title:Specification #:counter] map[name:pdf-file-:counter src:**.pdf]]
List of files