Skip to content

"next" footer links don't pull title from source #451

@alexkrolick

Description

@alexkrolick

Instead of pulling the title attribute from next target in nav metadata, the link generator seems to just strip the file extension and -. This looks weird if the title is different than the title generated from the link.

https://github.com/reactjs/reactjs.org/blob/184a7ef9476c524df0ff82362257c02bfbe8698d/src/templates/components/NavigationFooter/NavigationFooter.js#L89

EDIT: found an existing TODO for this 😄

https://github.com/reactjs/reactjs.org/blob/184a7ef9476c524df0ff82362257c02bfbe8698d/src/components/MarkdownPage/MarkdownPage.js#L125-L132

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions