From f8dc47eeffa847fd0b51e376da355e3d957848a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sat, 10 Mar 2018 11:45:29 +0100 Subject: Allow partial redefinition of the ouputs config Fixes #4487 --- output/outputFormat.go | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'output') diff --git a/output/outputFormat.go b/output/outputFormat.go index 0920e5736..877850160 100644 --- a/output/outputFormat.go +++ b/output/outputFormat.go @@ -140,6 +140,14 @@ var ( NoUgly: true, Rel: "alternate", } + + SitemapFormat = Format{ + Name: "Sitemap", + MediaType: media.XMLType, + BaseName: "sitemap", + NoUgly: true, + Rel: "sitemap", + } ) var DefaultFormats = Formats{ @@ -149,7 +157,9 @@ var DefaultFormats = Formats{ CSVFormat, HTMLFormat, JSONFormat, + RobotsTxtFormat, RSSFormat, + SitemapFormat, } func init() { -- cgit v1.2.3