group archived pages based on year or month