code: func Deprecated(object, item, alternative string, err bool) {
  	if !strings.HasSuffix(alternative, ".") {
  		alternative += "."
  	}
  
  	if err {
  		DistinctErrorLog.Printf("%s's %s is deprecated and will be removed in Hugo %s. %s", object, item, hugo.CurrentVersion.Next().ReleaseVersion(), alternative)
  
  	} else {
  		DistinctWarnLog.Printf("%s's %s is deprecated and will be removed in a future release. %s", object, item, alternative)
  	}
  }
docs: // Deprecated informs about a deprecation, but only once for a given set of arguments' values.
  // If the err flag is enabled, it logs as an ERROR (will exit with -1) and the text will
  // point at the next Hugo release.
  // The idea is two remove an item in two Hugo releases to give users and theme authors
  // plenty of time to fix their templates.