content icon indicating copy to clipboard operation
content copied to clipboard

目录中有index.md的时候,链接出错

Open Iczp opened this issue 1 year ago • 1 comments

Environment



Reproduction

目录结构 content/css |--index.md |--link.md

index.md: LinkTo

访问 http://localhost:3000/css 生成的链接为: LinkTo 实际会到 http://localhost:3000/link 是错的 理想的结果:http://localhost:3000/css/link

Describe the bug

目录结构 content/css |--index.md |--link.md

index.md: LinkTo

访问 http://localhost:3000/css 生成的链接为: LinkTo 实际会到 http://localhost:3000/link 是错的 理想的结果:http://localhost:3000/css/link

Additional context

No response

Logs

No response

Iczp avatar Jun 04 '24 09:06 Iczp

Can you please make a minimal reproduction on StackBlitz so that we can better help you locate the problem?

Coiggahou2002 avatar Jun 06 '24 15:06 Coiggahou2002

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Dec 09 '24 02:12 github-actions[bot]

This issue was closed because it has been stalled for 30 days with no activity.

github-actions[bot] avatar Jan 08 '25 02:01 github-actions[bot]