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

Make Github style relative links work with root Jekyll pages #1

Closed
stevemoser opened this issue Jan 27, 2015 · 1 comment
Closed

Make Github style relative links work with root Jekyll pages #1

stevemoser opened this issue Jan 27, 2015 · 1 comment

Comments

@stevemoser
Copy link

Github added relative links to markup files that take the following form.
[Page in the same directory](page-in-the-same-directory.md)

Relative links are great because per Github:

This also means your documentation can now easily stand on its own, without always pointing to GitHub.

However Jekyll doesn't convert 'page-in-the-same-directory.md' to 'page-in-the-same-directory.html'.

Since I can't change Github I have to change Jekyll.

@stevemoser
Copy link
Author

These fix #1. Next Github style relative links should work with _posts Jekyll pages: #2. Then with non-root Jekyll pages: #3.
d3badd2
a6937cc
efa3727
bbec245
2ffc698

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant