Skip to content

Strip index name without file extension#318

Open
ullallulloo wants to merge 1 commit intojekyll:masterfrom
ullallulloo:patch-1
Open

Strip index name without file extension#318
ullallulloo wants to merge 1 commit intojekyll:masterfrom
ullallulloo:patch-1

Conversation

@ullallulloo
Copy link

If you put an index.html file in a directory, doc.url will end in "/index". That's rarely what people want, as recognized by the plugin already stripping it if it includes the file extension; and the URL works with or without the "index". Even if you set a permalink with :path, the claimed URL will still include the generic filename, so AFAIK this can't be solved without a change to the plugin.

This could be combined with #254 if people want a page actually called "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