Make compatible with latest gulp

Also adds sorting by date of posts