diff --git a/cmd/root.go b/cmd/root.go index d6c98cc..b148063 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -29,7 +29,7 @@ func renderTemplate(cmd *cobra.Command, args []string) error { ctx := gonja.Context{} for _, element := range os.Environ() { variable := strings.Split(element, "=") - ctx[variable[0]] = variable[1] + ctx[variable[0]] = strings.Join(variable[1:], "=") } out, err := tpl.Execute(ctx) if err != nil {