hashobject / perun

Programmable static site generator built with Clojure and Boot (HELP NEEDED!)
https://perun.io
Eclipse Public License 1.0
351 stars 38 forks source link

Try to fix the 'images-resize` task's handling of :out-dir. #235

Open wiseman opened 5 years ago

wiseman commented 5 years ago

Fixes #233.

I think this makes images-resize's behavior more consistent with other tasks with regard to putting output files in a location corresponding to their original locations. Specifically, this keeps resized images next to the original images, unless :out-dir is used.

I'm guessing there might be a better way of doing this, since other tasks can have a default :out-dir "public" and this uses a default :out-dir nil.