Closed PurplePenguin4102 closed 8 years ago
Yes, I reproduced it both in landscape and next. It's not a theme issue, something happened to Hexo.
A similar thing was happening with the flexy theme. From reading url_for.js, my guess is that
if (data.protocol)
is returning false instead of true for some reason. That or options.relative isn't set.
data.protocol
is just to check is there http
or https
in url, I think not here.
@PurplePenguin4102 Hello, this problem was fixed in hexo 3.2beta. You can install it by npm install hexo@beta --save
And I make a fault that: the code in github is latest, but our environment is still in 3.1.1. = =
@PurplePenguin4102 3.2beta may have other issue, that's why it's not yet pushed to npm. Use with care.
@Xuanwo You can use hexojs/hexo
in package.json
. But I have hexo cloned separately to be able to run test on it. https://gist.github.com/leesei/82bd16ec2edfbdbad981
yeah no worries, thanks guys :) Awesome that there was already a fix :+1:
@leesei OK, I got it~
I still had this issue. I had to use my main github page(username.github.io
) for it to work. Literally the same issue as this on hexo 4.2.0! Let me know if there's anything that can be done
I still had this issue. I had to use my main github page(
username.github.io
) for it to work. Literally the same issue as this on hexo 4.2.0! Let me know if there's anything that can be done
I had this issue too.
Same problem here hexo@6.3.0
used for deploying to https://www.webmanajemen.com/chimeraland/
Related for hexo@6.3.0 https://github.com/hexojs/hexo/issues/5086
A freshly installed blog: http://jhray.com/blog
notice that archives guides you to http://jhray.com/archives instead of http://jhray.com/blog/archives
I set the _config.yml to `# Site title: Hexo subtitle: description: author: Joey Ray language: default timezone:
# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/' url: http://jhray.com/blog root: /blog/ permalink: :year/:month/:day/:title/ permalink_defaults: ` when I inspected public/index.html the href on the archive link was ser to '/' instead of '/blog/'