-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement: Allow for file or media field type #308
Labels
enhancement
New feature or request
Comments
Thank you @landure for the suggestion! It would definitely make sense to get this enhancement. |
estruyf
added a commit
that referenced
this issue
Apr 4, 2022
estruyf
added a commit
that referenced
this issue
Apr 5, 2022
estruyf
added a commit
that referenced
this issue
Apr 20, 2022
The first implementation of the new Sample field configuration: {
"title": "Attachments",
"name": "attachments",
"type": "file",
"multiple": true,
"fileExtensions": ["pdf", "mp4", "wav"]
} Empty field Single value Multiple files - single selection Multiple files The new field type will be available for testing in the latest beta version. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using Hugo as a content generator. Hugo allow for
audio
andvideos
front matter fields for populating the corresponding opengraph values (see Configure Open Graph).According to Hugo documentation:
The
audio
andvideos
fields definition should be:with the file type working like the image type for any file type.
Additionally, a mime type or file extension filter for selected files should be possible:
The text was updated successfully, but these errors were encountered: