treat _index as index

This commit is contained in:
Jacky Zhao committed 2023-07-15 23:33:06 -07:00
1 parent a3e4c86a4c
commit f82282367e
3 files changed
+20 -10

No files matched your search

+1
View File
@@ -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"],