You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set ':year-:month-:day-:title.md' prefix in new_post_name.
create a sub-dir in _post-dir and create a md file with prefix.
the post url is /subdir-year-month-day-filename.html .
it should be /subdir/year-month-day-filename.html
Check List
Please check followings before submitting a new issue.
hexo version
to check)Expected behavior
new_post_name: :year-:title.md
file path : _post/hexo/2023-hello.md (must be in sub folder)
permalink :
:title hexo/hello
:name hello
Actual behavior
i set a time prefix in post file name.prefix cant be removed in path.
permalink:
:title hexo-2023-hello
:name hexo-2023-hello
How to reproduce?
new_post_name
setting in_config.ym
to add ':year-:month-:day-:title.md' prefix._post
and add a new post.The name and title in permalink setting is
folder-date-name
. (slug = title = name)eg.
hexo version 6.3
The text was updated successfully, but these errors were encountered: