Skip to content

Edit this page incorrect link #226

@cyrilf

Description

@cyrilf

On each page, we can find a Edit this page link at the bottom.
However this link points towards a 404 on Github.

For instance, on the home page https://learn.nuxt.com/en:

The edit this page points to: https://github.com/nuxt/learn.nuxt.com/edit/main/content/en/en/0.index.md which is a 404.
It should point to https://github.com/nuxt/learn.nuxt.com/edit/main/content/en/0.index.md.

So basically its related to the double /en/en in the url.

The Edit this page uses sourceUrl which is based on page.value.id. The fix should be done on this file by removing the locale from the page.value.id maybe?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions