Improve docpad config and layout system