axitkhurana / buster

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

Generated CSS wrong name #11

Closed danieldisu closed 10 years ago

danieldisu commented 10 years ago

When I run buster generate, it create all the needed files, but the "screen.css" gets saved as screen.css?v=e1a4208fa8 and everytime I run buster generateI must change the name of that css file.

axitkhurana commented 10 years ago

Hey @danieldisu,

Thanks for reporting. Please provide the Ghost version number and the OS you are running. And if you're running a different theme other than the default. Will help me replicate the issue and fix.

Phonbopit commented 10 years ago

I had a same problem on Ghost 0.4

after run buster generate when I look at /static/index.html stylesheet link to correct screen.css?v=aaaa

but when I run buster preview and view-source:http://localhost:2368/ screen.css?v=bbb is changed.

p.s. I download and test on Ghost 0.3.3 it work fine

ghost commented 10 years ago

Firstly, thank you for Buster. It is awesome.

I too am experiencing this issue. Running Ghost 0.4 with a slightly modified Casper theme. Something adds a randomly string to the end of .css and .js files which breaks the static sites.

axitkhurana commented 10 years ago

Thanks @jackpea. I'll try to fix it over the weekend, seems to be an issue with the new 0.4 version.

lianghanzhen commented 10 years ago

Hi @axitkhurana, I have fixed this issue and send you a pull request.

jaredly commented 10 years ago

fixed by #13

axitkhurana commented 10 years ago

Thanks to @lianghanzhen, this has been fixed. Please update buster using pip install --upgrade buster and let me know if you are facing any issues.

jaredly commented 10 years ago

thank you!! buster is such a useful tool