We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
i was having an issue with the generation of relative links in my paginations. I think, this line:
https://github.com/hexojs/hexo/blob/master/lib/plugins/helper/relative_url.js#L23
is wrong, it says:
if (outLength > 1 && !out[outLength - 1] && !out[outLength] - 2){
I think it should be (at the end, outLength -2):
if (outLength > 1 && !out[outLength - 1] && !out[outLength - 2]){
If I change that, my pagination works correctly.
The text was updated successfully, but these errors were encountered:
Looks like this is fixed in master but hasn't been published for a release version yet (current 3.1.1)
master
Sorry, something went wrong.
No branches or pull requests
Hi,
i was having an issue with the generation of relative links in my paginations. I think, this line:
https://github.com/hexojs/hexo/blob/master/lib/plugins/helper/relative_url.js#L23
is wrong, it says:
if (outLength > 1 && !out[outLength - 1] && !out[outLength] - 2){
I think it should be (at the end, outLength -2):
if (outLength > 1 && !out[outLength - 1] && !out[outLength - 2]){
If I change that, my pagination works correctly.
The text was updated successfully, but these errors were encountered: