use treefmt-nix to format everything
1 file changed, 5 insertions(+), 7 deletions(-)
changed files
M domain/content/builder/template/template.go → domain/content/builder/template/template.go
@@ -18,13 +18,11 @@ "github.com/antchfx/xmlquery" "github.com/antchfx/xpath" ) -var ( - nsMap = map[string]string{ - "xsl": "http://www.w3.org/1999/XSL/Transform", - "atom": "http://www.w3.org/2005/Atom", - "xhtml": "http://www.w3.org/1999/xhtml", - } -) +var nsMap = map[string]string{ + "xsl": "http://www.w3.org/1999/XSL/Transform", + "atom": "http://www.w3.org/2005/Atom", + "xhtml": "http://www.w3.org/1999/xhtml", +} func RenderRobotsTXT(baseURL config.URL, w io.Writer) error { tpl, err := template.ParseFS(templates.Files, "robots.tmpl")