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

bug fixed in page.js #453

Merged
merged 1 commit into from
Jan 18, 2014
Merged

bug fixed in page.js #453

merged 1 commit into from
Jan 18, 2014

Conversation

chenall
Copy link
Contributor

@chenall chenall commented Jan 17, 2014

when modify source_dir,the static file(e.g. imgs/sss.jpg) will generate error

当修改了_config.yml的source_dir目录之后,如果新的source目录里面有一些静态文件像图片之类的文件,就会出错.
因为这里使用了硬编码'source',

改成hexo.config.source_dir 解决这个问题 .

when modify source_dir,the static file(e.g. imgs/sss.jpg) will generate error
tommy351 added a commit that referenced this pull request Jan 18, 2014
@tommy351 tommy351 merged commit 3ca0194 into hexojs:dev Jan 18, 2014
@chenall chenall deleted the fix-source-dir-bug branch July 10, 2014 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants