From e77bb13c201770929be6b5caf413be48ecbe1d8f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Thu, 6 Apr 2017 15:28:56 +0200 Subject: [PATCH] media, output: Fix spelling --- media/mediaType.go | 2 +- output/outputFormat.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/media/mediaType.go b/media/mediaType.go index f64f5125..942e9070 100644 --- a/media/mediaType.go +++ b/media/mediaType.go @@ -134,7 +134,7 @@ func (t Types) GetBySuffix(suffix string) (tp Type, found bool) { } // 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) diff --git a/output/outputFormat.go b/output/outputFormat.go index 06a82fdb..4a95c1c7 100644 --- a/output/outputFormat.go +++ b/output/outputFormat.go @@ -217,7 +217,7 @@ func (formats Formats) FromFilename(filename string) (f Format, found bool) { } // 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) -- 2.30.2