Open factoryal opened 6 years ago
use order hexo s to test( not hexo s -debug)
@BruceYuj I tried but not working also.
can you show me the hexo console log ?
@BruceYuj
Is this right?
it looks correct. common. js is concat by other js files.
common. js has been created. Can you flush your browser and show me the error hexo log
@BruceYuj
I force removed the cache and loaded again. but nothing changes. The index.css file directory is correct. It's in /mk/ subdirectory. but common.js file is not.
what is your OS
Windows 10 Pro Insider Preview Build 17074.rs_prerelease_fit.180116-1539
@fatoryal because i can't use my computer now, i can't test your problem. can you wait for some hours or check your configuration or restart your computer.
@BruceYuj Thanks for your support.
@factoryal
this is my test hexo s
log
this is the post site http://localhost:4000/2018/01/22/2017-1-22-context-and-executionContext/
dev html structure.
When I use order hexo g
, I can find the common.js
file in the public\js
folder.
@BruceYuj Yeah, It works when I set server location as root (localhost:4000/) But It is not working when server location at subdirectory (localhost:4000/mk/) Directory of js files are absolute not relative.
@factoryal That is because the index page does not need the common.js file.
@factoryal Hi, do you fix your problem?
@BruceYuj Sorry for late reply. I didn't fix the problem yet. Some other Hexo themes causes this problem also. (example: https://github.com/stkevintan/hexo-theme-material-flow/issues/4) Now, I'm working in root directory.
I'm testing appling this theme at http://localhost:4000/mk/ Every file loads okay except common.js Only this file is trying to load in root directory, not /mk/ directory. How can I fix that?
Thanks for your answer and sorry for my english...