aboutsummaryrefslogtreecommitdiffhomepage
path: root/output/outputFormat.go
diff options
context:
space:
mode:
Diffstat (limited to 'output/outputFormat.go')
-rw-r--r--output/outputFormat.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/output/outputFormat.go b/output/outputFormat.go
index c9c108ac5..ee5881e2a 100644
--- a/output/outputFormat.go
+++ b/output/outputFormat.go
@@ -16,11 +16,10 @@ package output
import (
"encoding/json"
"fmt"
+ "reflect"
"sort"
"strings"
- "reflect"
-
"github.com/mitchellh/mapstructure"
"github.com/gohugoio/hugo/media"
@@ -200,7 +199,6 @@ func (formats Formats) Less(i, j int) bool {
}
return fi.Weight > 0 && fi.Weight < fj.Weight
-
}
// GetBySuffix gets a output format given as suffix, e.g. "html".