Skip to content

Stop tampering with links#43

Merged
DannyBen merged 1 commit intomasterfrom
patch
May 12, 2018
Merged

Stop tampering with links#43
DannyBen merged 1 commit intomasterfrom
patch

Conversation

@DannyBen
Copy link
Copy Markdown
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