Fix newlines getting consumed by templating logic

Jinja is eating the newline after {% endif %} causing results like:

```yaml
autostart=truenumprocs1
```

where it should be

```yaml
autostart=true
numprocs=1
```