axitkhurana / buster

Brute force static site generator for Ghost
MIT License
800 stars 139 forks source link

remove query string since Ghost 0.4 #13

Closed lianghanzhen closed 2 years ago

lianghanzhen commented 10 years ago

When I use Ghost 0.4 to create static pages, I have some issue to load css and js files. I notice that Ghost 0.4 add some query string after css and js links. So, after generating we have to rename these files.

jaredly commented 10 years ago

+1 please

axitkhurana commented 10 years ago

Hey @lianghanzhen,

Thanks for the pull request, I have included the query string commit ddeebd8 but the ghost_path specific commits look specific to a use case. I'll take a look at them later this week before including them. I'm also looking at httrack which should fix the wget file issues.

lianghanzhen commented 10 years ago

Hi @axitkhurana, ghost_path is a little bit hack. If httrack can fix this, it will be the best solution.

mwilc0x commented 10 years ago

Hi, I'm also experiencing when I use buster to generate static site files from ghost 0.5.3 using --domain=127.0.0.1:2368 that it has the random text appended to the js/css. I would like to use this workflow to host on my github page, however when I do this it won't be able to find the css/js files as I would have to correct them manually. Is there a way I can work around this with buster?

lianghanzhen commented 10 years ago

Yes, but I am not sure whether it works for 0.5.3. You can try my fork.

2014-10-25 4:36 GMT+08:00 Mike Wilcox notifications@github.com:

Hi, I'm also experiencing when I use buster to generate static site files from ghost 0.5.3 using --domain=127.0.0.1:2368 that it has the random text appended to the js/css. I would like to use this workflow to host on my github page, however when I do this it won't be able to find the css/js files as I would have to correct them manually. Is there a way I can work around this with buster?

— Reply to this email directly or view it on GitHub https://github.com/axitkhurana/buster/pull/13#issuecomment-60445539.