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的_config.yml中的permalink, 将其改为: permalink: :category/:title.html 然后重新生成,查看页面还是“https://域名/post/文章名” 我切换官方自带那个主题,就可以实现“目录/文章名.html”的效果 希望能得到您的指点。
permalink: :category/:title.html
The text was updated successfully, but these errors were encountered:
目前不支持自定义 url,因本质是单页应用,路由全部都由 js 重新定义,如果开放自定义路由,例如上面的路由,就已经和 page 路由冲突了。
Sorry, something went wrong.
这个主题的 page 路由可以很灵活,支持嵌套。
求作者大大支持这种写法 permalink: :category/:title.html
No branches or pull requests
我需改hexo的_config.yml中的permalink,
将其改为:
permalink: :category/:title.html
然后重新生成,查看页面还是“https://域名/post/文章名”
我切换官方自带那个主题,就可以实现“目录/文章名.html”的效果
希望能得到您的指点。
The text was updated successfully, but these errors were encountered: