Hello, I am rendering multiple files, because if that I need to have trim enabled.
But when I render this with trim:
# API
PROJECT_NAME={{ project_name }}
API_V1_STR=/api/v1
DOMAIN=localhost
ENVIRONMENT=local
BACKEND_CORS_ORIGINS="*"
API_PORT=8000
# Database
POSTGRES_SERVER={% if "docker" in features %}db{% else %}localhost{% endif %}
POSTGRES_PORT=5432
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=fastapi
I get this:
# API
PROJECT_NAME=
API_V1_STR=/api/v1
DOMAIN=localhost
ENVIRONMENT=local
BACKEND_CORS_ORIGINS="*"
API_PORT=8000
# Database
POSTGRES_SERVER=localhostPOSTGRES_PORT=5432
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=fastapi
Because there will be no new line after the {% endif %}
How would I render this correctly with Trim enabled?