axitkhurana / buster

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

Add --adjust-extension in wget command for wrong mime type in css and js... #12

Closed Phonbopit closed 10 years ago

Phonbopit commented 10 years ago

Use --adjust-extension in wget command for wrong mime type in css and js files.

without adjust-extension css and js file type are C source code (text/x-csrc)

axitkhurana commented 10 years ago

Hey, thanks for sending this pull request.

But it doesn't seem to work on OS X, wget 1.14 built on darwin12.5.0 and Ghost 0.4. I tried using --adjust-extension flag but that saves the file as screen.css?v=c44dc08367.css.

Phonbopit commented 10 years ago

i'm sorry it doesn't work on OS X, I test only on Ubuntu 12.10 and 13.10