Stay DRY!

Just some cleanups and repetition fixes :)
That task actually does both HTML and Jade. We only want to run the Jade engine for files which end in .jade, though.