Skip to content

Keep index files named after parent directory#10

Open
mateowatson wants to merge 1 commit intostephanieleary:masterfrom
mateowatson:patch-1
Open

Keep index files named after parent directory#10
mateowatson wants to merge 1 commit intostephanieleary:masterfrom
mateowatson:patch-1

Conversation

@mateowatson
Copy link
Copy Markdown

I realize this project is not being updated much, but it really came in handy for me recently. I had to add this if statement in order for the slug of parent pages to be correct when preserving file names and using index.html. Otherwise every parent page would have a slug of "index".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant