Skip to content
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

can not use post_asset_folder: true to create post #2770

Closed
yuanyuanyuan opened this issue Sep 25, 2017 · 2 comments
Closed

can not use post_asset_folder: true to create post #2770

yuanyuanyuan opened this issue Sep 25, 2017 · 2 comments
Labels

Comments

@yuanyuanyuan
Copy link

yuanyuanyuan commented Sep 25, 2017

Environment Info

Node version(node -v):
v6.9.5

Your site _config.yml (Optional):

post_asset_folder: true

Your theme _config.yml (Optional):

Hexo and Plugin version(npm ls --depth 0):
├── hexo@3.3.7
├── hexo-deployer-git@0.3.0
├── hexo-generator-archive@0.1.4
├── hexo-generator-baidu-sitemap@0.1.2
├── hexo-generator-category@0.1.3
├── hexo-generator-index@0.2.1
├── hexo-generator-searchdb@1.0.7
├── hexo-generator-sitemap@1.2.0
├── hexo-generator-tag@0.2.0
├── hexo-renderer-ejs@0.2.0
├── hexo-renderer-marked@0.2.11
├── hexo-renderer-stylus@0.3.3
├── hexo-server@0.2.1
└── hexo-wordcount@3.0.2

For BUG

  1. BUG description

I am use the comm to add post: hexo new post 1

my post dir:
├── 1
│   └── 1.jpg
├── 1.md

the log:

FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
Error: ENOTDIR: not a directory, open '/public/1.html/1.jpg'
at Error (native)

  1. The way to reproduce
  2. Log with hexo --debug

I think is not fix

For question

For feature request

#2134

@NoahDragon
Copy link
Member

I think you are setting the permalink like *.html, I believe removing the .html the tail could fix this issue.

@stale
Copy link

stale bot commented Nov 26, 2017

This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants