usecuecms
Login

File

A file picker can be created by using the following strings as a frontmatter key (italics can be any string):

  • file
  • this_file

Frontmatter fields with the above keys provide a file selector that allows all file types from the uploads directory. Selecting a file will result in front matter like the below:

file: "/uploads/yourfilename.ext"