code: def paging(self):
          
          if 'date' in self.spec:
              _, date_span, _ = utils.parse_date(self.spec['date'])
              return date_span
          return 'offset'
docs: Gets the pagination type; compatible with entry.archive(page_type=...)