Skip to content

Inconsistent links between Home page and pages/Home #265

@dualspiral

Description

@dualspiral

(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/Home in 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions