-
-
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
permalinks :title is file path #881
Comments
What do you mean? |
I might be having a similar problem as @m80126colin (though I am not entirely sure). One might have settings as follows: new_post_name: :year-:month-:day-:title.md # File name of new post
permalink: :year/:month/:day/:title/ In this case, new files are created as expected (e.g. However, what is not expected (or rather, isn't clear how to change the configuration to support this) is that the permalink will not be correct. Expected:
Actual:
I had a blog previously running on Hexo 2.x that worked with this setup, but it seems something has change in Hexo 3. |
@nt3rp @tommy351 I think we need to update the doc for these config and variables in As a side question, how |
I found that
:title
, a variable of permalinks, is NOT only a filename but also a file path undersource/
if you categories your markdown files into several directories.The text was updated successfully, but these errors were encountered: