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

Stop tampering with links #43

Merged
merged 1 commit into from
May 12, 2018
Merged

Stop tampering with links #43

merged 1 commit into from
May 12, 2018

Conversation

DannyBen
Copy link
Owner

@DannyBen DannyBen commented May 12, 2018

This PR replaces the way we handle relative links.

Instead of modifying the link, we are now acting exactly like GitHub pages - if we are looking at a folder (i.e. its actually showing its README), then the URL will be appended with a trailing slash. This way the webserver will know how to serve relative assets.

In this PR code was removed and not added, while the functionality stayed the same.

In addition - all lowercase folders are now also ignored in the navigation. In order to allow having css or images folders.

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