shithub: hugo

Download patch

ref: e77bb13c201770929be6b5caf413be48ecbe1d8f
parent: e6e1aca3f4d142c12757025f31ee5597808cc0b2
author: Bjørn Erik Pedersen <[email protected]>
date: Thu Apr 6 11:28:56 EDT 2017

media, output: Fix spelling

--- a/media/mediaType.go
+++ b/media/mediaType.go
@@ -134,7 +134,7 @@
 }
 
 // DecodeTypes takes a list of media type configurations and merges those,
-// in ther order given, with the Hugo defaults as the last resort.
+// in the order given, with the Hugo defaults as the last resort.
 func DecodeTypes(maps ...map[string]interface{}) (Types, error) {
 	m := make(Types, len(DefaultTypes))
 	copy(m, DefaultTypes)
--- a/output/outputFormat.go
+++ b/output/outputFormat.go
@@ -217,7 +217,7 @@
 }
 
 // DecodeFormats takes a list of output format configurations and merges those,
-// in ther order given, with the Hugo defaults as the last resort.
+// in the order given, with the Hugo defaults as the last resort.
 func DecodeFormats(mediaTypes media.Types, maps ...map[string]interface{}) (Formats, error) {
 	f := make(Formats, len(DefaultFormats))
 	copy(f, DefaultFormats)