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

Jekyll error converting mardown extension to html for parent folders #328

Open
AbcSxyZ opened this issue Apr 22, 2023 · 0 comments
Open
Labels
debt Technical debt

Comments

@AbcSxyZ
Copy link
Contributor

AbcSxyZ commented Apr 22, 2023

When you use a Markdown link to point to a parent folder, as in the case of the file contenu/modèles/open-education.md, which would point to the file ressources.md at the root with this link :

[Liste des ressources](/ressources.md)

Conversion problem with Jekyll and Github page, which does not convert the link into html, and will download a markdown file from a deployed site instead of displaying a web page.

Current solution: You can use a link directly with [link](/file.html), which will allow navigation from the site, but will break the navigation on the raw mardown.

Research:
Perhaps the problem could be solved with the Jekyll configuration, but nothing conclusive as I write. The "jekyll-relative-links" plugin, which is already enabled in _config.yml, is supposed to allow the use of a relative path (type ../../file.md), but the tests I've done don't work 🤷

Deploying a site with Github Pages without a custom domain name for a fork will certainly require a Jekyll config for baseurl and url, see: https://mademistakes.com/mastering-jekyll/site-url-baseurl/

@AbcSxyZ AbcSxyZ added the debt Technical debt label Apr 22, 2023
@AbcSxyZ AbcSxyZ changed the title Jekyll erreur conversion extension mardown en html des dossiers parents Jekyll error converting mardown extension to html for parent folders Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debt Technical debt
Projects
None yet
Development

No branches or pull requests

1 participant