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
hexo version
expected: /tech/use-notion-flow.html
result: /tech/tech-2024-use-notion-flow.html
add file: source/_posts/tech/2015/how-to-work.md
source/_posts/tech/2015/how-to-work.md
modify _config.yml: permalink: :category/:name.html
_config.yml
permalink: :category/:name.html
hexo generate or hexo server in browser
hexo generate
hexo server
Safe mode
YES
node 18.19.7 iMac 2017, x64
NO PLUGIN
package.json
No response
permalink 中的 name 不符合预期,对于 _posts/life/2015/xxx.md 来说,官网文档说 permalink 中的 :name 表示的是 xxx,但是实际是 life-2015-xxx,而且没有任何办法获取到文件名 xxx
_posts/life/2015/xxx.md
The text was updated successfully, but these errors were encountered:
can't reproduce
$ ls -R source/_posts source/_posts/tech/2024: myPostFileName.md
INFO Generated: postsDir/myPostFileName.html
Sorry, something went wrong.
Close as can't repro
I cannot reproduced this case and no one provides enough information, I am going to close this issue.
If the problem still exists or anyone has any info, feel free to comment or open issue.
No branches or pull requests
Check List
hexo version
to check)Expected behavior
expected: /tech/use-notion-flow.html
Actual behavior
result: /tech/tech-2024-use-notion-flow.html
How to reproduce?
add file:
source/_posts/tech/2015/how-to-work.md
modify
_config.yml
:permalink: :category/:name.html
hexo generate
orhexo server
in browserIs the problem still there under
Safe mode
?YES
Your Node.js & npm version
Your Hexo and Plugin version
Your
package.json
No response
Your site's
_config.yml
(Optional)No response
Others
permalink 中的 name 不符合预期,对于
_posts/life/2015/xxx.md
来说,官网文档说 permalink 中的 :name 表示的是 xxx,但是实际是 life-2015-xxx,而且没有任何办法获取到文件名 xxxThe text was updated successfully, but these errors were encountered: