-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
fix(tag): use url_for #5385
fix(tag): use url_for #5385
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Pull Request Test Coverage Report for Build 8611939935Details
💛 - Coveralls |
Help, when will the package be updated? |
fail to pass test on Windows because of backslash ( try: Line 53 in f5e0f92
|
e312362
to
6090f93
Compare
How to testgit clone -b post_link https://github.com/hexojs/hexo.git
cd hexo
npm install
npm test |
6090f93
to
67ba3e6
Compare
@uiolee I have made the modification, and indeed, I haven't found a more elegant solution. In the future, we can consider adding this path replacement inside
|
Yes. I noticed that hexo uses different styles of paths in different places. Maybe we should use the same style of paths everywhere so we can avoid conversions |
I think we can introduce a new convention: In the database models used by Hexo (including Asset, Page, Post, etc.), the |
Database model See 2876faf |
Another issue is that when calculating relative paths, sometimes |
Co-authored-by: Uiolee <22849383+uiolee@users.noreply.github.com> Signed-off-by: Mimi <stevenjoezhang@gmail.com>
Signed-off-by: Mimi <1119186082@qq.com>
What does it do?
Issue resolved: #5383
Screenshots
Pull request tasks