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

Global asset folder not working when source dir is changed another path #3398

Closed
xiaomingplus opened this issue Dec 23, 2018 · 2 comments · Fixed by #3399
Closed

Global asset folder not working when source dir is changed another path #3398

xiaomingplus opened this issue Dec 23, 2018 · 2 comments · Fixed by #3399
Labels
bug Something isn't working

Comments

@xiaomingplus
Copy link
Contributor

xiaomingplus commented Dec 23, 2018

Environment Info

Node version(node -v):v8.12.0

Your site _config.yml (Optional): default

Your theme _config.yml (Optional): default

Hexo and Plugin version(npm ls --depth 0): default

For BUG

When I changed the config source value to ../source,the source images can't be generated.Here is the config:

source_dir: ../source

You can run:

hexo new test
cd ../source
mkdir images
# copy a example image to images
hexo generate

The images folder can not be generated.

For question

For feature request

@yoshinorin
Copy link
Member

@xiaomingplus
One question. Is it only assets (image) only ?
There is a possibility that this issue relate #3410

@xiaomingplus
Copy link
Contributor Author

@yoshinorin not only image folder,all assets can't be copied to the public dir.

@yoshinorin yoshinorin added the bug Something isn't working label Jan 23, 2019
@xiaomingplus xiaomingplus changed the title Change source config,the source assets folder can't be generated. Global asset folder not working when source dir is changed another path Mar 24, 2019
yoshinorin added a commit that referenced this issue Mar 24, 2019
fix: Global asset folder not working when source dir is changed  another path (#3398)
thom4parisot pushed a commit to thom4parisot/hexo that referenced this issue Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants