iissnan / iissnan/theme-next-docs

“日志”链接路径最新版本不正确,404,和“归档”路径不同

Open
#265 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
165
Forks
55
PR merge metrics
No merged PRs in 30d

Description

我的理解是:点击“日志”和“归档”跳转到的是同一个页面,但是,如果给“归档”菜单配置了图标以后,即:“archives: /archives/|| archive”,最新版“归档”的链接是:/archives/,即我们menu配置的正确的链接,但是“日志”的链接确没有断开,点击“日志”,显示链接的URL是:“http://localhost:4000/archives/|| archive”,导致页面不能链接到资源,404~

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the menu configuration for the “日志” and “归档” links, especially the `archives: /archives/|| archive` entry. Reproduce the 404 locally and compare the generated URLs; done means both links resolve to the same archive page without including the icon configuration in the URL.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.