treat _index as index
This commit is contained in:
1 parent
a3e4c86a4c
commit
f82282367e
3 files changed
+20
-10
No files matched your search
@@ -122,6 +122,7 @@ describe('transforms', () => {
|
||||
describe('slugifyFilePath', () => {
|
||||
asserts([
|
||||
["content/index.md", "content/index"],
|
||||
["content/_index.md", "content/index"],
|
||||
["/content/index.md", "content/index"],
|
||||
["content/cool.png", "content/cool"],
|
||||
["index.md", "index"],
|
||||
|
||||
Reference in new issue
Block a user