-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update navigation structure, wip #85
Conversation
03a6a4c
to
e4b5c12
Compare
e4b5c12
to
b37a6b1
Compare
> | ||
> 目前 Jekyll 的配置支持使用「直接指向 `.md` 文件链接 (相对目录)」的写法,但是并未全站采用这样的做法,理由如下: | ||
> | ||
> 1. 目录与文件名重名的问题,例如之前 `_wiki/` 目录下同时存在 `./scripts.md` 和 `./scripts/`。现将 `./scripts.md` 调整到 `./scripts/index.md`,并在其中配置 `permalink: /wiki/scripts/` 以保持原有链接的有效性。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dir/index.md
会自动渲染为 dir/index.html
并且具有 dir/
的固定链接,为文件名为 index.md
的文件加 permalink:
是没有必要的
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(顺带一提这个写法也是我抄的就是了
No description provided.