code: func dateAndSlugFromBaseFilename(name string) (time.Time, string) {
  	withoutExt, _ := helpers.FileAndExt(name)
  
  	if len(withoutExt) < 10 {
  		// This can not be a date.
  		return time.Time{}, ""
  	}
  
  	// Note: Hugo currently have no custom timezone support.
  	// We will have to revisit this when that is in place.
  	d, err := time.Parse("2006-01-02", withoutExt[:10])
  	if err != nil {
  		return time.Time{}, ""
  	}
  
  	// Be a little lenient with the format here.
  	slug := strings.Trim(withoutExt[10:], " -_")
  
  	return d, slug
  }
docs: // A Zero date is a signal that the name can not be parsed.
  // This follows the format as outlined in Jekyll, https://jekyllrb.com/docs/posts/:
  // "Where YEAR is a four-digit number, MONTH and DAY are both two-digit numbers"