Skip to content
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

文章Alias唯一? #19

Closed
ghost opened this issue May 17, 2017 · 1 comment
Closed

文章Alias唯一? #19

ghost opened this issue May 17, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented May 17, 2017

hi / 你好,
你能讲一下为什么文章的Alias也是唯一的? 不是已经有_id作为唯一键了吗?

@eshengsky
Copy link
Owner

@Starxy
因为iBlog2将文章Alias用作文章URL的一部分,如:
http://www.skysun.name/blog/javascript/javascript-declaration-hoisting
以使URL具备良好的可读性。
所以Alias必须唯一,否则无法唯一匹配文章数据。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant