shithub: hugo

Download patch

ref: 473b6610d51d4a33ba35917f95b0d97ea78dad2b
parent: 0bce97703c17318b13b95d78ba41f40efb06aea7
author: Joe Mooring <joe.mooring@veriphor.com>
date: Sat Sep 19 12:00:21 EDT 2020

Fix typo in redirect error message

--- a/config/commonConfig.go
+++ b/config/commonConfig.go
@@ -206,7 +206,7 @@
 			// There are some tricky infinite loop situations when dealing
 			// when the target does not have a trailing slash.
 			// This can certainly be handled better, but not time for that now.
-			return nil, errors.Errorf("unspported redirect to value %q in server config; currently this must be either a remote destination or a local folder, e.g. \"/blog/\" or \"/blog/index.html\"", redir.To)
+			return nil, errors.Errorf("unsupported redirect to value %q in server config; currently this must be either a remote destination or a local folder, e.g. \"/blog/\" or \"/blog/index.html\"", redir.To)
 		}
 		s.Redirects[i] = redir
 	}