Skip to content

[Bug report] page links failed in pages that use permalink #1227

Closed
@meteorlxy

Description

@meteorlxy
  • I confirm that this is a issue rather than a question.

Bug report

Version

v1.0.0-alpha.34

Steps to reproduce

docs
├── with-permalink.md
└── target-page.md

One page uses permalink, in which there is a link to the other page.

The other page does not use permalink.

// with-permalink.md
---
permalink: '/foo/bar'
---

[To target page](./target-page.md)

What is expected?

The link url is rendered as '/target-page.html', which points to target-page.md.

What is actually happening?

The link url is rendered as '/foo/bar/target-page.html', which does not exist.

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