Env
Output environment variable values.
Example
This tag is a nice simple way to output values from your environment variables.
In your environment file (.env
):
Template
FOO=bar
Template
1. {{ env:FOO }}
2. {{ env:HELLO }}
3. {{ env:HELLO default="world" }}
Output
1. bar
2.
3. world
Parameters
default|fallback string | In the event that the requested variable doesn't exist, this will be used a fallback. |
---|