I made a blueprint pdf.yml with accept: mime: application/pdf but when I upload a pdf and I click on the file it says This page has no blueprint setup yet. So my first question is how to set up blueprints for anything else then images.
My main interest is to show the file size for a file download link. The panel shows the size so I guess I could just copy that into a field? Is this the right way to achieve that?
In a tag, no, not out of the box. But if you want to show it via a file tag, the user would have to enter the file size manually if you don’t modify the tag. I’d try to avoid that.
Is that a files section? You assign a template by adding the template option:
files:
type: files
template: template-name
This filters the file by template and when you upload a file, the template is added to the meta data file.