Abstract all the things

No due date 64% complete

There are plenty of things within DocPad that could be abstracted out. We'll use this milestone to group these tasks.