don't depend on a particular version of python_dateutil
refactoring: _render_pages has been extracted from Site::_write