aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/site_output.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2018-10-23 23:18:24 +0200
committerBjørn Erik Pedersen <[email protected]>2018-10-24 00:12:32 +0200
commit889aca054a267506a1c7cfaa3992d324764d6358 (patch)
tree78483e4755ea4a27d77acb1eacb4e66dac8b3b54 /hugolib/site_output.go
parente3ed4a83b8e92ce9bf070f7b41780798b006e848 (diff)
downloadhugo-889aca054a267506a1c7cfaa3992d324764d6358.tar.gz
hugo-889aca054a267506a1c7cfaa3992d324764d6358.zip
Run gofmt -s
Diffstat (limited to 'hugolib/site_output.go')
-rw-r--r--hugolib/site_output.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/hugolib/site_output.go b/hugolib/site_output.go
index 0e0fe76a7..0a7513961 100644
--- a/hugolib/site_output.go
+++ b/hugolib/site_output.go
@@ -28,16 +28,16 @@ func createDefaultOutputFormats(allFormats output.Formats, cfg config.Provider)
sitemapOut, _ := allFormats.GetByName(output.SitemapFormat.Name)
return map[string]output.Formats{
- KindPage: output.Formats{htmlOut},
- KindHome: output.Formats{htmlOut, rssOut},
- KindSection: output.Formats{htmlOut, rssOut},
- KindTaxonomy: output.Formats{htmlOut, rssOut},
- KindTaxonomyTerm: output.Formats{htmlOut, rssOut},
+ KindPage: {htmlOut},
+ KindHome: {htmlOut, rssOut},
+ KindSection: {htmlOut, rssOut},
+ KindTaxonomy: {htmlOut, rssOut},
+ KindTaxonomyTerm: {htmlOut, rssOut},
// Below are for conistency. They are currently not used during rendering.
- kindRSS: output.Formats{rssOut},
- kindSitemap: output.Formats{sitemapOut},
- kindRobotsTXT: output.Formats{robotsOut},
- kind404: output.Formats{htmlOut},
+ kindRSS: {rssOut},
+ kindSitemap: {sitemapOut},
+ kindRobotsTXT: {robotsOut},
+ kind404: {htmlOut},
}
}