Unable to recognize files without extensions #7355
-
I'm trying to edit some files without extension using Decap CMS, but when I set Why? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@gi-b716 |
Beta Was this translation helpful? Give feedback.
-
Hi @martinjagodic do you have any example? It does not get the file content, the field is empty :/ I am trying like this - name: settings
label: "Settings"
+ format: other-extension
files:
- name: redirects
label: Redirects
file: public/_redirects
fields:
- { label: "Content", name: "body", widget: "text" } the files that I am tring to edit: |
Beta Was this translation helpful? Give feedback.
@gi-b716
extention
is not supposed to be empty. If you want to omit the extension for formatting reasons, I suggest you use an extention that is not recognized by formatters.