Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strip index name without file extension #318

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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