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

Be more careful about special-casing index.html #604

Commits on Apr 23, 2024

  1. Only strip index.html if it is at the end

    ... and only if it is the full file name...
    
    I noticed this because I want to convert https://git-scm.com/ to use
    Pagefind, but any search hitting `/docs/git-checkout-index.html` would
    mistakenly link to `/docs/git-checkout-`.
    
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
    dscho committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    3d68de2 View commit details
    Browse the repository at this point in the history