We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2f8d49 commit e2729ebCopy full SHA for e2729eb
src/reducers/collections.js
@@ -48,7 +48,7 @@ function validateCollection(configCollection) {
48
const selectors = {
49
[FOLDER]: {
50
entryExtension(collection) {
51
- return collection.get('extension') || formatToExtension(collection.get('format') || 'frontmatter');
+ return (collection.get('extension') || formatToExtension(collection.get('format') || 'frontmatter')).replace(/^\./, '');
52
},
53
fields(collection) {
54
return collection.get('fields');
0 commit comments