Closed StardustDL closed 5 years ago
@StardustDL Thank you for notifying about issue. This is a bug due to the generation path.
I will update the npm version later, so please wait.
@StardustDL I updated package , please use new version.
@tea3 I just updated it, and it works! Thank you.
Description
Thanks for your plugin.
I put the hexo site in a subdirectory (you can see that in my site
_config.yml
below), and this plugin generated post path without subdirectory.For example, the subdirectory name is "test". And there is a post at
_post/hello.md
, which url will be/test/hello/
, but in this plugin, it will generate url/hello/
for this post and accessing this link will getNot Found
.Maybe add
config.root
to post path?BTW, I use NEXT theme.
Environment Info
Site
_config.yml
Theme
_config.yml
Plugin version(
npm ls --depth 0
)