-
-
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
Permalink issues #1813
Comments
From #1822, I recommend issuing a warning for posts and assets with non-URL safe characters ( |
I see this is an umbrella issue, so I decide to append the issue here as discussion instead of posting a new (and duplicated) one.
In front-matter, I set the permalink like:
but it did not override the permalink in config.yml. Solution provided by @liudongkai was not a handy one that I expected, since I have 180+ posts that migrated from wordpress. Re-assign a permalink to each post manually sounds incredible... |
can confirm (I'm assuming you're talking about post). It only override the |
Any updates? Seems that the issue is still there in hexo 3.8 |
This is an umbrella issue pertaining permalink in Hexo.
We should document how permalink (or link in general) is resolved from
config.permalink
,post.permalink
file name, slug, title.These cause quite a bit of confusion for the users and escaping of special characters.
#1812
#1608
#1110
#881 / #1258
hexojs/hexo-generator-sitemap#1 Use URL safe characters (slug should be serving this purpose)
hexojs/hexo-generator-sitemap#13 Use permalink as canonical URL (in HTML header and sitemap)
#1822
.
in post file nameThe text was updated successfully, but these errors were encountered: