You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When describing a content type in your frontmatter.json, you can specify a default file name, that will be used when creating content of this type. If you set a name with an underscore _ , the underscore will get stripped out of the name (the content file name will not have this underscore). This is annoying when using vscode-frontmatter with Hugo site generator, because _index.md is a filename that means something else as index.md for Hugo
To Reproduce
in your frontmatter.json, in a content type description :
Create a new content => The file name will be index.md, not _index.md
Expected behavior
The underscore should not be stripped, or there should be an option that ensure it is not stripped (eg. "cleanDefaultFilename" : false)
Device:
OS: Linux
Front Matter CMS Version [10.7.0]
The text was updated successfully, but these errors were encountered:
Describe the bug
When describing a content type in your
frontmatter.json
, you can specify a default file name, that will be used when creating content of this type. If you set a name with an underscore_
, the underscore will get stripped out of the name (the content file name will not have this underscore). This is annoying when using vscode-frontmatter with Hugo site generator, because_index.md
is a filename that means something else asindex.md
for HugoTo Reproduce
in your frontmatter.json, in a content type description :
Create a new content => The file name will be
index.md
, not_index.md
Expected behavior
The underscore should not be stripped, or there should be an option that ensure it is not stripped (eg.
"cleanDefaultFilename" : false
)Device:
The text was updated successfully, but these errors were encountered: