treat _index as index
This commit is contained in:
parent
a3e4c86a4c
commit
f82282367e
3 changed files with 20 additions and 10 deletions
|
@ -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"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue