Ore
Ore copied to clipboard
Inconsistent links between Home page and pages/Home
(Apologies for a badly worded title/report, I'm struggling to think how to summarise it. Hopefully you'll get the gist of what I'm saying!)
When writing the home page for a plugin, you may want to create a link to various sub pages using Markdown - say to link from <project>/pages/Home to <project>/pages/FAQs, the seasoned markdown writer would write [FAQs](FAQs). However, as the Home page also exists at the project root, when viewed from that page, the link would be broken when viewed there.
To reproduce this:
- Create an Ore project
- Create a new page, call it "FAQs"
- On the home page, enter the markdown
[FAQs](FAQs)and save it. - Click on "Home" under pages on the right hand side.
- Click on the FAQs link in the main text body, it correctly links to the FAQs page
- Click on Docs at the top to go to the root project page (without
pages/Homein the URL) - you should see the home page - Click on the FAQs link, you'll get a 404
While the workaround is to just put the full URL in, it would be nice if there could be some special handling so that relative links can be resolved one way or another and not break one of the pages.
Perhaps it could even support the MediaWiki link format that GitHub Wiki supports (https://help.github.com/articles/adding-links-to-wikis/)
i.e. [[Link Text|WikiLink]]
My suggestion is to redirect
<project> to <project>/pages/Home
But I don't know if making URL's to the pages is the best thing to do because the home page gets mirrored to the forum. Any other idea's on how to fix it?
Is this still an issue?
Looks fixed to me
It's not fixed. I just tested it on the Nucleus page (which uses absolute links for now) with [FAQs](FAQs), sam behaviour.